2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/iio
Alexandru Ardelean 65afb0932a iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
There are 2 exit paths where the lock isn't held, but try to unlock the
mutex when exiting. In these places we should just return from the
function.

A neater approach would be to cleanup the ad5592r_read_raw(), but that
would make this patch more difficult to backport to stable versions.

Fixes 56ca9db862: ("iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs")
Reported-by: Charles Stanhope <charles.stanhope@gmail.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-22 14:51:54 +01:00
..
accel iio: accel: sca3000: Fix 2 misspellings and demote nonconforming kerneldocs 2020-07-20 09:03:24 +01:00
adc Merge branch 'ib-5.8-jz47xx-ts' into HEAD 2020-07-22 14:36:31 +01:00
afe iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
amplifiers iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
buffer iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
chemical iio: chemical: scd30: add serial interface driver 2020-06-27 14:52:38 +01:00
common iio: common: ms_sensors: ms_sensors_i2c: Fix misspelling of parameter 'client' 2020-07-20 09:02:48 +01:00
dac iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() 2020-07-22 14:51:54 +01:00
dummy iio: dummy: iio_simple_dummy_buffer: Demote file header and correct misspelling 2020-07-20 09:02:58 +01:00
frequency iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
gyro iio: gyro: fxas21002c: Move 'fxas21002c_reg_fields' to the only file its used 2020-07-20 09:03:25 +01:00
health Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
humidity Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
imu iio: imu: st_lsm6dsx: st_lsm6dsx: Mark 'st_lsm6dsx_accel_ext_info' as __maybe_unused 2020-07-20 09:03:35 +01:00
light iio: light: stk3310: add chip id for STK3311-X variant 2020-07-20 09:03:38 +01:00
magnetometer iio: magnetometer: ak8974: Add description for ak8974's 'scan' attribute 2020-07-20 09:03:32 +01:00
multiplexer iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
orientation iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
position iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
potentiometer Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
potentiostat iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
pressure Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
proximity Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
resolver iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
temperature iio: temperature: mlx90632: Function parameter descriptions must match exactly 2020-07-20 09:03:18 +01:00
trigger iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
iio_core_trigger.h iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
iio_core.h iio: buffer: rename 'read_first_n' callback to 'read' 2019-12-29 15:20:09 +00:00
industrialio-buffer.c iio: buffer: fix attach/detach pollfunc order 2020-07-15 13:04:44 +01:00
industrialio-configfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-core.c iio: core: fix/re-introduce back parent assignment 2020-07-22 14:36:23 +01:00
industrialio-event.c iio: core: move event interface on the opaque struct 2020-07-07 20:24:07 +01:00
industrialio-sw-device.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-sw-trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-trigger.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
industrialio-triggered-event.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
inkern.c iio: inkern: drop devm_iio_channel_release{_all} API calls 2020-04-19 16:56:37 +01:00
Kconfig iio: position: Add support for Azoteq IQS624/625 angle sensors 2020-03-27 08:25:59 +00:00
Makefile iio: position: Add support for Azoteq IQS624/625 angle sensors 2020-03-27 08:25:59 +00:00
TODO iio: add a TODO 2020-03-08 17:28:53 +00:00