mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable
authorVignesh R <vigneshr@ti.com>
Sat, 30 Jun 2018 10:33:16 +0000 (16:03 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 9 Oct 2018 10:28:07 +0000 (11:28 +0100)
commitc974ac771479327b5424f60d58845e31daddadea
treed748d0d854eec971064d03d6868d0b46e8ba0e8c
parent333e07ec4b3397f16f34b2eabae703a2885f3558
mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable

If a child device like touchscreen is wakeup capable, then keep ADC
interface on, so that a touching resistive screen will generate wakeup
event to the system.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c