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 adc: ti_adc108s102: Remove driver as its bit-rotted 2018-11-21 12:29:24 -05:00
Kconfig dts: adc: cleanup CONFIG_ADC_x_NAME 2018-11-21 18:05:39 -05:00
Kconfig.dw drivers: Kconfig.dw: Remove unnecessary Kconfig 2018-08-29 13:46:57 -04:00
Kconfig.intel_quark adc: add native driver for Quark D2000 2018-09-05 18:38:57 -04:00
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 drivers: adc: Select HAS_DTS_ADC for all ADC drivers 2018-08-29 13:46:57 -04:00
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: adc_dw: Remove dead code related to undefined Kconfig symbols 2018-11-10 15:18:24 -05:00
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