kernel_samsung_a53x/drivers/iio
David Lechner b74a1c0e93 iio: buffer-dmaengine: fix releasing dma channel on error
commit 84c65d8008764a8fb4e627ff02de01ec4245f2c4 upstream.

If dma_get_slave_caps() fails, we need to release the dma channel before
returning an error to avoid leaking the channel.

Fixes: 2d6ca60f3284 ("iio: Add a DMAengine framework based buffer")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240723-iio-fix-dmaengine-free-on-error-v1-1-2c7cbc9b92ff@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-19 00:09:59 +01:00
..
accel
adc iio: adc: ad7124: fix chip ID mismatch 2025-01-19 00:09:59 +01:00
addac
afe
amplifiers
buffer iio: buffer-dmaengine: fix releasing dma channel on error 2025-01-19 00:09:59 +01:00
chemical iio: chemical: bme680: Fix sensor data read operation 2024-11-19 14:19:33 +01:00
common Revert "iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()" 2024-11-24 00:22:52 +01:00
dac Revert "iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig" 2024-11-24 00:22:52 +01:00
dummy
frequency
gyro
health
humidity
imu iio: imu: inv_icm42600: delete unneeded update watermark call 2024-11-19 14:19:04 +01:00
light iio: light: al3010: Fix an error handling path in al3010_probe() 2024-12-17 13:24:16 +01:00
magnetometer Revert "iio: magnetometer: ak8975: Fix reading for ak099xx sensors" 2024-11-24 00:23:01 +01:00
multiplexer
orientation
position
potentiometer
potentiostat
pressure
proximity Revert "iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig" 2024-11-24 00:22:52 +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 iio: fix scale application in iio_convert_raw_to_processed_unlocked 2025-01-19 00:09:59 +01:00
Kconfig
Makefile
TODO