kernel-hacking-2024-linux-s.../drivers/iio
Fabrice Gasnier e6afcf6c59 iio: adc: stm32-adc: fix stopping dma
There maybe a race when using dmaengine_terminate_all(). The predisable
routine may call iio_triggered_buffer_predisable() prior to a pending DMA
callback.
Adopt dmaengine_terminate_sync() to ensure there's no pending DMA request
before calling iio_triggered_buffer_predisable().

Fixes: 2763ea0585 ("iio: adc: stm32: add optional dma support")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-10-27 15:57:19 +00:00
..
accel First set of IIO fixes for the 5.4 cycle. 2019-10-10 11:18:37 +02:00
adc iio: adc: stm32-adc: fix stopping dma 2019-10-27 15:57:19 +00:00
afe
amplifiers
buffer
chemical
common chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
dac iio: dac: ad5380: fix incorrect assignment to val 2019-09-03 18:55:50 +01:00
dummy
frequency
gyro
health
humidity
imu iio: imu: inv_mpu6050: fix no data on MPU6050 2019-10-22 12:42:54 +01:00
light First set of IIO fixes for the 5.4 cycle. 2019-10-10 11:18:37 +02:00
magnetometer
multiplexer
orientation
potentiometer
potentiostat
pressure chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
proximity iio: srf04: fix wrong limitation in distance measuring 2019-10-12 14:31:09 +01:00
resolver
temperature
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile