aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_printf.c
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2019-10-25 15:04:20 +0000
committerJonathan Cameron <[email protected]>2019-10-27 15:57:19 +0000
commite6afcf6c598d6f3a0c9c408bfeddb3f5730608b0 (patch)
treea61f1f1176910bb0d5b17fbe75d333738b379bba /lib/test_printf.c
parentiio: imu: inv_mpu6050: fix no data on MPU6050 (diff)
downloadkernel-e6afcf6c598d6f3a0c9c408bfeddb3f5730608b0.tar.gz
kernel-e6afcf6c598d6f3a0c9c408bfeddb3f5730608b0.zip
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: 2763ea0585c9 ("iio: adc: stm32: add optional dma support") Signed-off-by: Fabrice Gasnier <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions