Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04
Commit:     9d26a5d3f2b9c4fe4b2ba491683c6989ecd6ae04
Parent:     8c75deae1ab99661975da098f8b721bafbb247c4
Author:     Rolf Eike Beer <[EMAIL PROTECTED]>
AuthorDate: Tue Jun 26 13:31:16 2007 +0200
Committer:  Pierre Ossman <[EMAIL PROTECTED]>
CommitDate: Mon Jul 9 21:28:35 2007 +0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]>
---
 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 5e9a6ce..10d15c3 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",
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to