mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
sdhci: tell which spurious interrupt we got
When we get unexpected interrupts, also print which interrupt it was. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
e538fbe83e
commit
b67ac3f339
1 changed files with 6 additions and 6 deletions
|
@ -933,9 +933,9 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask)
|
||||||
BUG_ON(intmask == 0);
|
BUG_ON(intmask == 0);
|
||||||
|
|
||||||
if (!host->cmd) {
|
if (!host->cmd) {
|
||||||
printk(KERN_ERR "%s: Got command interrupt even though no "
|
printk(KERN_ERR "%s: Got command interrupt 0x%08x even "
|
||||||
"command operation was in progress.\n",
|
"though no command operation was in progress.\n",
|
||||||
mmc_hostname(host->mmc));
|
mmc_hostname(host->mmc), (unsigned)intmask);
|
||||||
sdhci_dumpregs(host);
|
sdhci_dumpregs(host);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -965,9 +965,9 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
|
||||||
if (intmask & SDHCI_INT_DATA_END)
|
if (intmask & SDHCI_INT_DATA_END)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
printk(KERN_ERR "%s: Got data interrupt even though no "
|
printk(KERN_ERR "%s: Got data interrupt 0x%08x even "
|
||||||
"data operation was in progress.\n",
|
"though no data operation was in progress.\n",
|
||||||
mmc_hostname(host->mmc));
|
mmc_hostname(host->mmc), (unsigned)intmask);
|
||||||
sdhci_dumpregs(host);
|
sdhci_dumpregs(host);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue