summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ward <adam.ward.opensource@diasemi.com>2015-03-04 19:13:12 +0300
committerLee Jones <lee.jones@linaro.org>2015-03-12 12:06:48 +0300
commited05be56643e3420037c5f3854bed249b4f2f758 (patch)
treeb3cc9080a6bea240727bd4808da42297cda008c5
parent72e341c48fbca142d767e97746e33a4becf890ea (diff)
downloadlinux-ed05be56643e3420037c5f3854bed249b4f2f758.tar.xz
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>
-rw-r--r--drivers/mfd/da9052-irq.c2
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);