diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2010-12-02 15:06:49 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-22 12:05:22 +0100 |
commit | 88aec4f7b67b5889ba5b4beac2d2c1400451c318 (patch) | |
tree | 7f9cc0219c9ffb9b08b8ec9993b811c324e722a2 /drivers/mfd | |
parent | bd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71 (diff) | |
download | op-kernel-dev-88aec4f7b67b5889ba5b4beac2d2c1400451c318.zip op-kernel-dev-88aec4f7b67b5889ba5b4beac2d2c1400451c318.tar.gz |
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 <mattias.wallin@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index dbe1c93..d9640a6 100644 --- 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); |