diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-08-12 11:29:47 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-08-23 00:31:07 -0400 |
commit | b67ac3f339c76dfea3cc75fc0285b6d13edc35fa (patch) | |
tree | 199472e969e7f0ac4f344fb8da91cedb7a0d7b53 /drivers/mmc/host/sdhci.c | |
parent | e538fbe83e374a3521128c1f4642aca037661c9d (diff) |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index f8fc0a98b8c..20a7d89e01b 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -933,9 +933,9 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask) | |||
933 | BUG_ON(intmask == 0); | 933 | BUG_ON(intmask == 0); |
934 | 934 | ||
935 | if (!host->cmd) { | 935 | if (!host->cmd) { |
936 | printk(KERN_ERR "%s: Got command interrupt even though no " | 936 | printk(KERN_ERR "%s: Got command interrupt 0x%08x even " |
937 | "command operation was in progress.\n", | 937 | "though no command operation was in progress.\n", |
938 | mmc_hostname(host->mmc)); | 938 | mmc_hostname(host->mmc), (unsigned)intmask); |
939 | sdhci_dumpregs(host); | 939 | sdhci_dumpregs(host); |
940 | return; | 940 | return; |
941 | } | 941 | } |
@@ -965,9 +965,9 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask) | |||
965 | if (intmask & SDHCI_INT_DATA_END) | 965 | if (intmask & SDHCI_INT_DATA_END) |
966 | return; | 966 | return; |
967 | 967 | ||
968 | printk(KERN_ERR "%s: Got data interrupt even though no " | 968 | printk(KERN_ERR "%s: Got data interrupt 0x%08x even " |
969 | "data operation was in progress.\n", | 969 | "though no data operation was in progress.\n", |
970 | mmc_hostname(host->mmc)); | 970 | mmc_hostname(host->mmc), (unsigned)intmask); |
971 | sdhci_dumpregs(host); | 971 | sdhci_dumpregs(host); |
972 | 972 | ||
973 | return; | 973 | return; |