zephyr/drivers/adc
Andrzej Głąbek 0906a51dac drivers: adc: Fix handling of invalid sampling requests
Commit aad21ecb31 introduced an incorrect
pattern of handling ADC sampling requests with invalid parameters in
both nRF ADC drivers. After discarding such request, the drivers do not
release properly the access lock and therefore become unusable.
Unfortunately, this pattern were later on copied in all other ADC
drivers in the source tree.
This commit adds the proper lock releasing in all the affected drivers.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-01-17 16:58:21 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.dw
Kconfig.intel_quark
Kconfig.mcux drivers: adc_mcux: improve initialization of the ADC 2018-12-13 08:32:18 -06:00
Kconfig.nrfx drivers: nrf: Enable nRF drivers by default in Kconfig 2018-12-21 21:01:37 +01:00
Kconfig.sam_afec
adc_context.h drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
adc_dw.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
adc_dw.h
adc_intel_quark_d2000.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
adc_mcux_adc16.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
adc_nrfx_adc.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
adc_nrfx_saadc.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
adc_sam_afec.c drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00