mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
e8e3f2d2d4
commit
6e74c6af32
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ int exynos_adc_stop(struct udevice *dev)
|
|||
|
||||
/* Stop conversion */
|
||||
cfg = readl(®s->con1);
|
||||
cfg |= ~ADC_V2_CON1_STC_EN;
|
||||
cfg &= ~ADC_V2_CON1_STC_EN;
|
||||
|
||||
writel(cfg, ®s->con1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue