diff options
author | Adam Ward <adam.ward.opensource@diasemi.com> | 2015-03-04 16:13:12 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-03-12 09:06:48 +0000 |
commit | ed05be56643e3420037c5f3854bed249b4f2f758 (patch) | |
tree | b3cc9080a6bea240727bd4808da42297cda008c5 /drivers/mfd | |
parent | 72e341c48fbca142d767e97746e33a4becf890ea (diff) |
mfd: da9052: Register ability of device to cause a wake-up interrupt
Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/da9052-irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/da9052-irq.c b/drivers/mfd/da9052-irq.c index 57ae7841f536..e65ca194fa98 100644 --- a/drivers/mfd/da9052-irq.c +++ b/drivers/mfd/da9052-irq.c @@ -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); |