kernel-fxtec-pro1x/drivers/iio/imu
Sasha Levin c57c213538 iio: imu: adis16400: fix memory leak
[ Upstream commit 9c0530e898f384c5d279bfcebd8bb17af1105873 ]

In adis_update_scan_mode_burst, if adis->buffer allocation fails release
the adis->xfer.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-05 10:05:59 +02:00
..
bmi160
inv_mpu6050 iio: imu: mpu6050: add missing available scan masks 2019-12-17 20:36:01 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: take into account ts samples in wm configuration 2018-09-02 21:19:53 +01:00
adis.c iio:imu:adis: Mark expected switch fall-throughs 2018-07-07 18:01:05 +01:00
adis16400.h
adis16400_buffer.c iio: imu: adis16400: fix memory leak 2020-08-05 10:05:59 +02:00
adis16400_core.c
adis16480.c iio: imu: adis16480: assign bias value only if operation succeeded 2020-01-17 19:47:05 +01:00
adis_buffer.c iio: imu: adis16400: release allocated memory on failure 2019-11-06 13:06:02 +01:00
adis_trigger.c
Kconfig
kmx61.c
Makefile