iio: adc: mt7622: add support for suspend/resume.
authorZhiyong Tao <zhiyong.tao@mediatek.com>
Mon, 26 Jun 2017 06:11:41 +0000 (14:11 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Jul 2017 09:20:08 +0000 (10:20 +0100)
commit5236bbc6cd688c0065bf0fba59097b010dc22040
tree7cbd26ec17a6e5f87c957feb73575b92be3eab2f
parenta77c832c48418dc9404257aee8813f45f1e139dd
iio: adc: mt7622: add support for suspend/resume.

This patch supports auxadc suspend/resume flow.
Disable auxadc clk and power in suspend function.
Enable axuadc clk and power in resume function.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mt6577_auxadc.c