diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-08 12:31:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-28 18:22:53 +0200 |
| commit | 32e6d1ee98ab05f0288a66f66febbe28c81a297d (patch) | |
| tree | c1b06a0f86dadfeed387138835983c596ff2ea5a /include/uapi/linux | |
| parent | e1db7d19c6faa48fc653220f3580d7c7a8e79a15 (diff) | |
iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
commit 3c3e4b3a708a9d6451052e348981f37d2b3e92b0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
