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

Commit 11838230 authored by Tim Small's avatar Tim Small Committed by Tejun Heo
Browse files

sata_sil24: Identify which card suffered IRQ status error



In machines with multiple Silicon Image 3124 and/or 3132 cards, there is no
way to tell which card is the culprit when the sata_sil24 interrupt handler
gets a bad status.

Tested-by: default avatarTim Small <tim@seoss.co.uk>
Signed-off-by: default avatarTim Small <tim@seoss.co.uk>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent af64dce4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1154,7 +1154,7 @@ static irqreturn_t sil24_interrupt(int irq, void *dev_instance)
	status = readl(host_base + HOST_IRQ_STAT);

	if (status == 0xffffffff) {
		printk(KERN_ERR DRV_NAME ": IRQ status == 0xffffffff, "
		dev_err(host->dev, "IRQ status == 0xffffffff, "
			"PCI fault or device removal?\n");
		goto out;
	}