summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
Diffstat (limited to 'chip')
-rw-r--r--chip/stm32/adc-stm32l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/adc-stm32l.c b/chip/stm32/adc-stm32l.c
index 2b7a789fde..0dc1d76743 100644
--- a/chip/stm32/adc-stm32l.c
+++ b/chip/stm32/adc-stm32l.c
@@ -196,6 +196,7 @@ int adc_read_all_channels(int *data)
ret = EC_ERROR_UNKNOWN;
goto exit_all_channels;
}
+ dma_clear_isr(STM32_DMAC_ADC);
for (i = 0; i < ADC_CH_COUNT; ++i) {
adc = adc_channels + i;