projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7c72e
)
mfd: Fix ab8500-core interrupt ffs bit bug
author
Mattias Wallin
<mattias.wallin@stericsson.com>
Thu, 2 Dec 2010 14:06:49 +0000
(15:06 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 22 Dec 2010 11:05:22 +0000
(12:05 +0100)
We want to find the first set bit on value, not status.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/ab8500-core.c
b/drivers/mfd/ab8500-core.c
index dbe1c93c1af3eeac287cc795f16307aa44f86ccc..d9640a623ff483446822e4370127c376d3c631c5 100644
(file)
--- a/
drivers/mfd/ab8500-core.c
+++ b/
drivers/mfd/ab8500-core.c
@@
-303,7
+303,7
@@
static irqreturn_t ab8500_irq(int irq, void *dev)
continue;
do {
- int bit = __ffs(
status
);
+ int bit = __ffs(
value
);
int line = i * 8 + bit;
handle_nested_irq(ab8500->irq_base + line);