mfd: wm8994: Flag the interrupt block as requiring runtime PM be enabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jul 2012 14:41:53 +0000 (15:41 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Aug 2012 19:30:00 +0000 (20:30 +0100)
It's only required in a few circumstances but better to be safe.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/wm8994-irq.c

index 0aac4aff17a5f6cf4d66144883608157a720d7ed..a050e56a9bbdcf16f200dbe363391393ce4f6756 100644 (file)
@@ -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)