zephyr/drivers/sensor/stm32_vref
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 drivers: sensor: Add STM32 VREF+ sensor 2023-05-23 08:54:20 +02:00
Kconfig drivers: sensor: stm32 vref sensor depends on ADC 2023-10-11 11:17:51 +01:00
stm32_vref.c drivers: adc: stm32: Fix race condition with internal channels 2024-01-11 13:53:17 +01:00