diff options
author | Rolf Eike Beer <eike-kernel@sf-tec.de> | 2007-06-26 07:31:16 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-09 15:28:35 -0400 |
commit | 9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04 (patch) | |
tree | 8e1fcd926e20d4b14a1163167a3a2f2aa86a986f /drivers/mmc/host/sdhci.c | |
parent | 8c75deae1ab99661975da098f8b721bafbb247c4 (diff) |
sdhci: Fix "Unexpected interrupt" handling
Whenever a power interrupt is signaled it is also reported as an unexpected
one. All other unexpected interrupts get lost. Cause is a not inversed
bitmask to remove power interrupts from the status.
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 5e9a6ce8355..10d15c39d00 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1030,7 +1030,7 @@ static irqreturn_t sdhci_irq(int irq, void *dev_id) | |||
1030 | writel(SDHCI_INT_BUS_POWER, host->ioaddr + SDHCI_INT_STATUS); | 1030 | writel(SDHCI_INT_BUS_POWER, host->ioaddr + SDHCI_INT_STATUS); |
1031 | } | 1031 | } |
1032 | 1032 | ||
1033 | intmask &= SDHCI_INT_BUS_POWER; | 1033 | intmask &= ~SDHCI_INT_BUS_POWER; |
1034 | 1034 | ||
1035 | if (intmask) { | 1035 | if (intmask) { |
1036 | printk(KERN_ERR "%s: Unexpected interrupt 0x%08x.\n", | 1036 | printk(KERN_ERR "%s: Unexpected interrupt 0x%08x.\n", |