diff options
author | Rolf Eike Beer <eike-kernel@sf-tec.de> | 2007-06-26 13:31:16 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-09 21:28:35 +0200 |
commit | 9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04 (patch) | |
tree | 8e1fcd926e20d4b14a1163167a3a2f2aa86a986f /drivers/mmc | |
parent | 8c75deae1ab99661975da098f8b721bafbb247c4 (diff) | |
download | linux-9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04.tar.gz linux-9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04.tar.bz2 linux-9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04.zip |
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')
-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 5e9a6ce83559..10d15c39d003 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) writel(SDHCI_INT_BUS_POWER, host->ioaddr + SDHCI_INT_STATUS); } - intmask &= SDHCI_INT_BUS_POWER; + intmask &= ~SDHCI_INT_BUS_POWER; if (intmask) { printk(KERN_ERR "%s: Unexpected interrupt 0x%08x.\n", |