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>

authored by Mattias Wallin and committed by Samuel Ortiz 88aec4f7 bd7c72ed

+1 -1
+1 -1
drivers/mfd/ab8500-core.c
··· 303 303 continue; 304 304 305 305 do { 306 - int bit = __ffs(status); 306 + int bit = __ffs(value); 307 307 int line = i * 8 + bit; 308 308 309 309 handle_nested_irq(ab8500->irq_base + line);