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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:46 +0000 (08:20 +0100)
commitb2d6db3e572a87d5c31605619679a07b60e0c76c
tree19e4f275efaa9078efcafb6e068d230256930286
parentb0c6a78a8a5a8da442c8b42b6f362972b76e3ff9
mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable

[ Upstream commit c974ac771479327b5424f60d58845e31daddadea ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/ti_am335x_tscadc.c