linux_dsm_epyc7002/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
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_trigger.h
iio_core.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