Commit 6311c90a authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds

libata: fix G5 SATA broken on -rc5

Fix G5 SATA irq 18: nobody cared, reported on -rc5 by Olaf Hering:
fixlet to a57c1bad libata-sff:
Fix oops reported in kerneloops.org for pnp devices with no ctl
Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Tested-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 53c8ba95
......@@ -278,7 +278,7 @@ static u8 ata_sff_irq_status(struct ata_port *ap)
return status;
}
/* Clear INTRQ latch */
status = ata_sff_check_status(ap);
status = ap->ops->sff_check_status(ap);
return status;
}
......
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