projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1da66e
)
sata_mv: fix pci_enable_msi() error handling
author
Tejun Heo
<htejun@gmail.com>
Sat, 24 Feb 2007 06:12:31 +0000
(15:12 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Sun, 25 Feb 2007 01:52:12 +0000
(20:52 -0500)
intx should be turned on when pci_enable_msi() fails not when it
succeeds. Fix it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_mv.c
b/drivers/ata/sata_mv.c
index 06867b92c9c7a4a28af4e321e3cbb363c463f199..d724bc799b1aa4ebf66a13b4c710298fccdb5ea8 100644
(file)
--- a/
drivers/ata/sata_mv.c
+++ b/
drivers/ata/sata_mv.c
@@
-2347,7
+2347,7
@@
static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
return rc;
/* Enable interrupts */
- if (msi &&
!
pci_enable_msi(pdev))
+ if (msi && pci_enable_msi(pdev))
pci_intx(pdev, 1);
mv_dump_pci_cfg(pdev, 0x68);