iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally
authorVignesh R <vigneshr@ti.com>
Sat, 30 Jun 2018 10:33:17 +0000 (16:03 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 9 Oct 2018 10:28:26 +0000 (11:28 +0100)
commit9eea8326f4e6862637b94f09deb2ec9f2b50e1bc
tree5ea55b9f05c2a2492c8d521eb4a78497a70e4dda
parentc974ac771479327b5424f60d58845e31daddadea
iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally

Parent MFD device takes care of enabling ADC interface whenever
touchscreen is marked wakeup capable. Therefore, unconditionally disable
ADC interface during system suspend to save power in case of system with
just ADC and no TSC.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/iio/adc/ti_am335x_adc.c