diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-08 10:31:53 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-10 16:14:14 +0100 |
commit | 3c3e4b3a708a9d6451052e348981f37d2b3e92b0 (patch) | |
tree | 7546692e603f8d4f6ad7915f2b8f604ca6139ea1 /block/ioprio.c | |
parent | dt-bindings: iio: adc: sd-modulator: fix io-channel-cells (diff) | |
download | linux-3c3e4b3a708a9d6451052e348981f37d2b3e92b0.tar.xz linux-3c3e4b3a708a9d6451052e348981f37d2b3e92b0.zip |
iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
The meson_sar_adc_lock() function is not supposed to hold the
"indio_dev->mlock" on the error path.
Fixes: 3adbf3427330 ("iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions