aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index 7461a587b39b..7c01192d3c48 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -2378,7 +2378,7 @@ static int ahci_port_start(struct ata_port *ap)
2378 /* 2378 /*
2379 * Switch to per-port locking in case each port has its own MSI vector. 2379 * Switch to per-port locking in case each port has its own MSI vector.
2380 */ 2380 */
2381 if (hpriv->flags & AHCI_HFLAG_MULTI_MSI) { 2381 if (hpriv->flags & (AHCI_HFLAG_MULTI_MSI | AHCI_HFLAG_MULTI_MSIX)) {
2382 spin_lock_init(&pp->lock); 2382 spin_lock_init(&pp->lock);
2383 ap->lock = &pp->lock; 2383 ap->lock = &pp->lock;
2384 } 2384 }