]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/ahci.c
[PATCH] ahci: readability tweak
[linux-2.6-omap-h63xx.git] / drivers / ata / ahci.c
index 25929123ffff3fdd6a927aa4113a232c2c074708..cef2e70d64f8d57d2e62bbec19a5fda752e05d40 100644 (file)
@@ -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 */