zephyr/drivers/sensor/stm32_vbat
Brian Juel Folkmann 06b57926a2 drivers: adc: stm32: Fix race condition with internal channels
When using one of the internal channels (die_temp, vbat, vref) the
channels are enabled in the individual drivers and disabled again
whenever an adc conversion is complete.

This creates a race condition if the ADC is used from multiple threads.

This commit moves the disabling of the channels to the individual
drivers.

Signed-off-by: Brian Juel Folkmann <bju@trackunit.com>
2024-01-11 13:53:17 +01:00
..
CMakeLists.txt
Kconfig drivers: sensor: Update drivers to use devicetree Kconfig symbol 2022-07-22 02:20:18 -05:00
stm32_vbat.c drivers: adc: stm32: Fix race condition with internal channels 2024-01-11 13:53:17 +01:00