Skip to content

Commit

Permalink
[PATCH] ahci: readability tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Oct 21, 2006
1 parent 3343571 commit 12a87d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 12a87d3

Please sign in to comment.