]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteec40d131e6e00f20cff59f97c3f95c471743bd5
tree5ea55b9f05c2a2492c8d521eb4a78497a70e4dda
parent01ba30239d3ed2073be7326f0e8bd49bc898e672
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