Commit 12a87d36 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik

[PATCH] ahci: readability tweak

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 3343571d
...@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap) ...@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap)
/* hmmm... a spurious interupt */ /* hmmm... a spurious interupt */
/* some devices send D2H reg with I bit set during NCQ command phase */ /* 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; return;
/* ignore interim PIO setup fis interrupts */ /* ignore interim PIO setup fis interrupts */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment