aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 25929123ffff..cef2e70d64f8 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap)
1041 /* hmmm... a spurious interupt */ 1041 /* hmmm... a spurious interupt */
1042 1042
1043 /* some devices send D2H reg with I bit set during NCQ command phase */ 1043 /* some devices send D2H reg with I bit set during NCQ command phase */
1044 if (ap->sactive && status & PORT_IRQ_D2H_REG_FIS) 1044 if (ap->sactive && (status & PORT_IRQ_D2H_REG_FIS))
1045 return; 1045 return;
1046 1046
1047 /* ignore interim PIO setup fis interrupts */ 1047 /* ignore interim PIO setup fis interrupts */