mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mfd: Fix ab8500-core interrupt ffs bit bug
We want to find the first set bit on value, not status. Signed-off-by: Mattias Wallin <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
bd7c72ed18
commit
88aec4f7b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue