Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[PATCH] ahci: readability tweak



Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 3343571d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */