linux-stable/drivers/iio
Dan Carpenter 12a1bcc1da iio: adc: max1027: unlock on error path in max1027_read_single_value()
[ Upstream commit 06ee60eb50 ]

If max1027_wait_eoc() fails then call iio_device_release_direct_mode()
before returning.

Fixes: a0e831653e ("iio: adc: max1027: Introduce an end of conversion helper")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YsbztVuAXnau2cIZ@kili
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:41:51 +02:00
..
accel iio: cros: Register FIFO callback after sensor is registered 2022-08-17 14:41:50 +02:00
adc iio: adc: max1027: unlock on error path in max1027_read_single_value() 2022-08-17 14:41:51 +02:00
addac iio: addac: ad74413r: Fix alignment for DMA safety 2022-08-17 14:41:29 +02:00
afe iio: afe: rescale: Fix boolean logic bug 2022-06-29 09:04:39 +02:00
amplifiers iio: amplifiers: ad8366: Fix alignment for DMA safety 2022-08-17 14:41:29 +02:00
buffer
cdc
chemical iio:chemical:ccs811: rearrange iio trigger get and register 2022-06-29 09:04:38 +02:00
common iio: cros: Register FIFO callback after sensor is registered 2022-08-17 14:41:50 +02:00
dac iio: dac: ti-dac7612: Fix alignment for DMA safety 2022-08-17 14:41:32 +02:00
dummy iio: dummy: iio_simple_dummy: check the return value of kstrdup() 2022-06-14 18:45:08 +02:00
filter iio:filter:admv8818: select REGMAP_SPI for ADMV8818 2022-04-04 09:19:01 +01:00
frequency iio: frequency: adrf6780: Fix alignment for DMA safety 2022-08-17 14:41:33 +02:00
gyro iio: gyro: fxas210002c: Fix alignment for DMA safety 2022-08-17 14:41:34 +02:00
health
humidity iio:humidity:hts221: rearrange iio trigger get and register 2022-06-29 09:04:38 +02:00
imu iio: imu: mpu6050: Fix alignment for DMA safety 2022-08-17 14:41:34 +02:00
light iio: cros: Register FIFO callback after sensor is registered 2022-08-17 14:41:50 +02:00
magnetometer iio: magnetometer: yas530: Fix memchr_inv() misuse 2022-06-29 09:04:35 +02:00
multiplexer
orientation
position
potentiometer iio: potentiometer: mcp4131: Fix alignment for DMA safety 2022-08-17 14:41:35 +02:00
potentiostat
pressure iio: cros: Register FIFO callback after sensor is registered 2022-08-17 14:41:50 +02:00
proximity iio: proximity: as3935: Fix alignment for DMA safety 2022-08-17 14:41:35 +02:00
resolver iio: resolver: ad2s90: Fix alignment for DMA safety 2022-08-17 14:41:35 +02:00
temperature iio: temp: maxim_thermocouple: Fix alignment for DMA safety 2022-08-17 14:41:36 +02:00
test iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m 2022-06-29 09:04:39 +02:00
trigger iio: trigger: sysfs: fix use-after-free on remove 2022-06-29 09:04:39 +02:00
Kconfig
Makefile
TODO
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: core: fix a few code style issues 2022-08-17 14:40:34 +02:00
industrialio-configfs.c
industrialio-core.c iio: core: Fix IIO_ALIGN and rename as it was not sufficiently large 2022-08-17 14:41:23 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c