linux_dsm_epyc7002/drivers/iio/dac
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
..
ad5064.c iio: dac: ad5064: Value returned by ad5064_vref_name may not be 'const * const' 2020-07-20 09:02:57 +01:00
ad5360.c iio: dac: ad5360: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:02:50 +01:00
ad5380.c iio: dac: ad5380: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:02:52 +01:00
ad5421.c iio: dac: ad5421: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:02:54 +01:00
ad5446.c iio: dac: ad5446: Complete 'struct ad5446_state' doc and demote unworthy kerneldocs 2020-07-20 09:02:59 +01:00
ad5449.c iio: dac: ad5449: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:01 +01:00
ad5504.c iio: dac: ad5504: Fix formatting errors and demote non-compliant kerneldoc 2020-07-20 09:03:21 +01:00
ad5592r-base.c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() 2020-07-22 14:51:54 +01:00
ad5592r-base.h iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock 2020-05-21 19:37:05 +01:00
ad5592r.c iio: dac: ad5592r: Fix a typo in the name of a function 2020-05-03 09:47:21 +01:00
ad5593r.c iio: dac: ad5593r: Fix a typo in MODULE_DESCRIPTION 2020-05-03 09:47:21 +01:00
ad5624r_spi.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad5624r.h
ad5686-spi.c
ad5686.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad5686.h iio: dac: ad5686: Replace indio_dev->mlock with own device lock 2020-05-16 16:29:54 +01:00
ad5696-i2c.c
ad5755.c iio: dac: ad5755: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:01 +01:00
ad5758.c iio: dac: ad5758: Move and fix-up kerneldoc header and demote unworthy kerneldoc 2020-07-20 09:03:03 +01:00
ad5761.c iio: dac: ad5761: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:04 +01:00
ad5764.c iio: dac: ad5764: Fix misdocumenting and formatting error 2020-07-20 09:03:06 +01:00
ad5770r.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
ad5791.c iio: dac: ad5791: Complete 'struct ad5791_chip_info' documentation 2020-07-20 09:03:06 +01:00
ad7303.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad8801.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
cio-dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
dpot-dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ds4424.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lpc18xx_dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc1660.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc2632.c iio: dac: ltc2632: Fix formatting in kerneldoc struct header 2020-07-20 09:03:16 +01:00
m62332.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Makefile iio: dac: ad5770r: Add AD5770R support 2020-03-08 17:28:41 +00:00
max517.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
max5821.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mcp4725.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mcp4922.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
stm32-dac-core.c iio: dac: stm32-dac: better handle reset controller failures 2020-01-18 14:32:01 +00:00
stm32-dac-core.h
stm32-dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ti-dac082s085.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
ti-dac5571.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
ti-dac7311.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
ti-dac7612.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
vf610_dac.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00