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 | linux-stable-88aec4f7b67b5889ba5b4beac2d2c1400451c318.tar.gz linux-stable-88aec4f7b67b5889ba5b4beac2d2c1400451c318.tar.bz2 linux-stable-88aec4f7b67b5889ba5b4beac2d2c1400451c318.zip |
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 dbe1c93c1af3..d9640a623ff4 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); |