projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf39ed
)
mmc: pxamci: better pending IRQ determination
author
Bridge Wu
<mingqiao.wu@gmail.com>
Tue, 25 Sep 2007 16:59:07 +0000
(18:59 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 25 Sep 2007 16:59:07 +0000
(18:59 +0200)
Pending interrupts should be determined from both I_REG and I_MASK
registers.
Signed-off-by: Bridge Wu <mingqiao.wu@gmail.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/pxamci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/pxamci.c
b/drivers/mmc/host/pxamci.c
index b89e32d1e9b5cd9a5baf037660315db2bb8b747f..03d162881159cf39e7e26eefeca03334bfe7e5df 100644
(file)
--- a/
drivers/mmc/host/pxamci.c
+++ b/
drivers/mmc/host/pxamci.c
@@
-298,7
+298,7
@@
static irqreturn_t pxamci_irq(int irq, void *devid)
unsigned int ireg;
int handled = 0;
- ireg = readl(host->base + MMC_I_REG);
+ ireg = readl(host->base + MMC_I_REG)
& ~readl(host->base + MMC_I_MASK)
;
if (ireg) {
unsigned stat = readl(host->base + MMC_STAT);