1
0
Fork 0

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>
hifive-unleashed-5.1
Adam Ward 2015-03-04 16:13:12 +00:00 committed by Lee Jones
parent 72e341c48f
commit ed05be5664
1 changed files with 2 additions and 0 deletions

View 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);