diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 25929123ffff3fdd6a927aa4113a232c2c074708..cef2e70d64f8d57d2e62bbec19a5fda752e05d40 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap) /* hmmm... a spurious interupt */ /* some devices send D2H reg with I bit set during NCQ command phase */ - if (ap->sactive && status & PORT_IRQ_D2H_REG_FIS) + if (ap->sactive && (status & PORT_IRQ_D2H_REG_FIS)) return; /* ignore interim PIO setup fis interrupts */