summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-24 16:41:53 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-07 21:30:00 +0200
commit7a97637988c355646e730bcf0e6d548619112cdd (patch)
treec17d4129e70547d2167d162f7c0fa1823926ce98
parentregmap: irq: Enable devices for runtime PM while handling interrupts (diff)
downloadlinux-7a97637988c355646e730bcf0e6d548619112cdd.tar.xz
linux-7a97637988c355646e730bcf0e6d548619112cdd.zip
mfd: wm8994: Flag the interrupt block as requiring runtime PM be enabled
It's only required in a few circumstances but better to be safe. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/mfd/wm8994-irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/wm8994-irq.c b/drivers/mfd/wm8994-irq.c
index 0aac4aff17a5..a050e56a9bbd 100644
--- a/drivers/mfd/wm8994-irq.c
+++ b/drivers/mfd/wm8994-irq.c
@@ -135,6 +135,7 @@ static struct regmap_irq_chip wm8994_irq_chip = {
.status_base = WM8994_INTERRUPT_STATUS_1,
.mask_base = WM8994_INTERRUPT_STATUS_1_MASK,
.ack_base = WM8994_INTERRUPT_STATUS_1,
+ .runtime_pm = true,
};
int wm8994_irq_init(struct wm8994 *wm8994)