linux-yocto/drivers/iio
Chen Ni 8d8519aedb iio: adc: stm32-adc: Fix race in installing chained IRQ handler
commit e8ad595064 upstream.

Fix a race where a pending interrupt could be received and the handler
called before the handler's data has been setup, by converting to
irq_set_chained_handler_and_data().

Fixes: 1add698802 ("iio: adc: Add support for STM32 ADC core")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Tested-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://patch.msgid.link/20250515083101.3811350-1-nichen@iscas.ac.cn
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 08:53:15 +02:00
..
accel iio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush 2025-07-24 08:53:15 +02:00
adc iio: adc: stm32-adc: Fix race in installing chained IRQ handler 2025-07-24 08:53:15 +02:00
addac
afe
amplifiers
buffer
cdc
chemical iio: chemical: sps30: use aligned_s64 for timestamp 2025-05-22 14:12:14 +02:00
common
dac
dummy
filter iio: filter: admv8818: Support frequencies >= 2^32 2025-06-19 15:28:30 +02:00
frequency
gyro
health
humidity
imu iio: imu: inv_icm42600: Fix temperature calculation 2025-06-27 11:08:51 +01:00
light
magnetometer
multiplexer
orientation
position
potentiometer
potentiostat
pressure iio: pressure: zpa2326: Use aligned_s64 for the timestamp 2025-07-06 11:00:07 +02:00
proximity
resolver
temperature iio: temp: maxim-thermocouple: Fix potential lack of DMA safe buffer. 2025-05-18 08:24:09 +02:00
test
trigger
iio_core_trigger.h
iio_core.h
industrialio-backend.c
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-gts-helper.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile
TODO