]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ahci: readability tweak
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 16 Oct 2006 15:21:40 +0000 (16:21 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 21 Oct 2006 19:18:59 +0000 (15:18 -0400)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
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 */