diff options
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index dd91951c68f0..a3aceffb60fe 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c | |||
@@ -517,8 +517,9 @@ static irqreturn_t ab8500_irq(int irq, void *dev) | |||
517 | do { | 517 | do { |
518 | int bit = __ffs(value); | 518 | int bit = __ffs(value); |
519 | int line = i * 8 + bit; | 519 | int line = i * 8 + bit; |
520 | int virq = ab8500_irq_get_virq(ab8500, line); | ||
520 | 521 | ||
521 | handle_nested_irq(ab8500->irq_base + line); | 522 | handle_nested_irq(virq); |
522 | value &= ~(1 << bit); | 523 | value &= ~(1 << bit); |
523 | 524 | ||
524 | } while (value); | 525 | } while (value); |