summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-06-14 15:43:30 -0700
committerLee Jones <lee.jones@linaro.org>2016-06-29 10:14:41 +0100
commit417e06bb3f281e6dddbcad4d5108779718857cc4 (patch)
tree978003aefd6e980aca9d9cf02e0d16ecc505330e /drivers/mfd
parent1f2c39726f04906c6e97840599bc8d298c4b0eab (diff)
downloadlinux-417e06bb3f281e6dddbcad4d5108779718857cc4.tar.gz
linux-417e06bb3f281e6dddbcad4d5108779718857cc4.tar.bz2
linux-417e06bb3f281e6dddbcad4d5108779718857cc4.zip
mfd: hi655x-pmic: Fixup issue with un-acked interrupts
While trying to get the powerkey to function, I found when pressing the key, I would get infinitely repeating interrupts. After digging around a bit, it seems we didn't set the ack_base value for the regmap irqchip logic, so nothing was acking the interrupt. This patch adds the ack_base, which seems to make things work. Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/hi655x-pmic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c
index 05ddc7882362..68ab3701cbf3 100644
--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -45,6 +45,7 @@ static const struct regmap_irq_chip hi655x_irq_chip = {
.num_regs = 1,
.num_irqs = ARRAY_SIZE(hi655x_irqs),
.status_base = HI655X_IRQ_STAT_BASE,
+ .ack_base = HI655X_IRQ_STAT_BASE,
.mask_base = HI655X_IRQ_MASK_BASE,
};