adc: exynos-adc: Fix wrong bit operation used to stop the ADC
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 6 Mar 2019 18:37:49 +0000 (19:37 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 11 Mar 2019 06:53:19 +0000 (15:53 +0900)
commit6e74c6af32057f8e9fb97b781807c55f834d2063
treecd5d4d1d7bbc3ff4293402f24f69a8ad3ddd22f9
parente8e3f2d2d48f97b2c79b698eccedce8f4f880993
adc: exynos-adc: Fix wrong bit operation used to stop the ADC

When stopping the ADC_V2_CON1_STC_EN should be cleared.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/adc/exynos-adc.c