summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/src.c
diff options
context:
space:
mode:
authorMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>2015-08-28 12:38:35 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-11-10 01:00:29 +0100
commit9022d375bd22869ba3e5ad3635f00427cfb934fc (patch)
tree65ea66ba890e54dfe5799ccff57ba8b9ff4b515e /drivers/scsi/aacraid/src.c
parentaacraid: Add Power Management support (diff)
downloadlinux-9022d375bd22869ba3e5ad3635f00427cfb934fc.tar.xz
linux-9022d375bd22869ba3e5ad3635f00427cfb934fc.zip
aacraid: Change interrupt mode to MSI for Series 6
This change always sets MSI interrupt mode for series-6 controller. Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Reviewed-by: Karthikeya Sunkesula <Karthikeya.Sunkesula@pmcs.com> Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/aacraid/src.c')
-rw-r--r--drivers/scsi/aacraid/src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c
index b147341ac24d..eb07b3d4ed38 100644
--- a/drivers/scsi/aacraid/src.c
+++ b/drivers/scsi/aacraid/src.c
@@ -742,7 +742,7 @@ int aac_src_init(struct aac_dev *dev)
if (dev->comm_interface != AAC_COMM_MESSAGE_TYPE1)
goto error_iounmap;
- dev->msi = aac_msi && !pci_enable_msi(dev->pdev);
+ dev->msi = !pci_enable_msi(dev->pdev);
dev->aac_msix[0].vector_no = 0;
dev->aac_msix[0].dev = dev;