summaryrefslogtreecommitdiff
path: root/drivers/adc/exynos-adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/exynos-adc.c')
-rw-r--r--drivers/adc/exynos-adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c
index d33e3d632a..12c49fc8ce 100644
--- a/drivers/adc/exynos-adc.c
+++ b/drivers/adc/exynos-adc.c
@@ -62,7 +62,7 @@ int exynos_adc_stop(struct udevice *dev)
/* Stop conversion */
cfg = readl(&regs->con1);
- cfg |= ~ADC_V2_CON1_STC_EN;
+ cfg &= ~ADC_V2_CON1_STC_EN;
writel(cfg, &regs->con1);