[PATCH] ahci: readability tweak
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Родитель
3343571d9f
Коммит
12a87d36b3
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче