iio: mxs-lradc: disable only masked channels in mxs_lradc_hw_stop
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 23 Apr 2016 19:57:59 +0000 (19:57 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 09:44:28 +0000 (10:44 +0100)
commit331dd5be97a9a241329a99cbe19e217273ae541b
treea0f93dc879b5d5b2019b5b9fcaaf61b8ea1d002a
parent962ed43a3eac49da65ad90fd1036e74faa5b5066
iio: mxs-lradc: disable only masked channels in mxs_lradc_hw_stop

Disabling of the touchscreen IRQs should be done in
mxs_lradc_disable_ts. So disable only the masked virtual channels
in mxs_lradc_hw_stop and finally remove the unused function
mxs_lradc_irq_en_mask.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mxs-lradc.c