mfd: da9052: Register ability of device to cause a wake-up interrupt
authorAdam Ward <adam.ward.opensource@diasemi.com>
Wed, 4 Mar 2015 16:13:12 +0000 (16:13 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 12 Mar 2015 09:06:48 +0000 (09:06 +0000)
Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9052-irq.c

index 57ae7841f5362a11994fb9513606f062783065db..e65ca194fa98283a38539ab3b68393976a8c1604 100644 (file)
@@ -262,6 +262,8 @@ int da9052_irq_init(struct da9052 *da9052)
                goto regmap_err;
        }
 
+       enable_irq_wake(da9052->chip_irq);
+
        ret = da9052_request_irq(da9052, DA9052_IRQ_ADC_EOM, "adc-irq",
                            da9052_auxadc_irq, da9052);