aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-10-16 16:21:40 +0100
committerJeff Garzik <jeff@garzik.org>2006-10-21 15:18:59 -0400
commit12a87d36b3c5cb76a182c35f40d959a615d1c862 (patch)
tree399eec23ec54f27b94f70831f978ae54933336a1 /drivers/ata/ahci.c
parent3343571d9f88a0de542d33aea9ab881f00ff866d (diff)
downloadkernel_samsung_tuna-12a87d36b3c5cb76a182c35f40d959a615d1c862.zip
kernel_samsung_tuna-12a87d36b3c5cb76a182c35f40d959a615d1c862.tar.gz
kernel_samsung_tuna-12a87d36b3c5cb76a182c35f40d959a615d1c862.tar.bz2
[PATCH] ahci: readability tweak
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ahci.c')
-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 2592912..cef2e70 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 */