diff options
author | Dan Carpenter <[email protected]> | 2022-02-24 18:02:28 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-02-26 18:06:08 +0000 |
commit | 7948d301c24887a27ff560ca91f8b4cf4cd8e0c8 (patch) | |
tree | ca14b8b45aba4a98f849ae0168731df6c6690883 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2c43265516b5a507a2bc646453aafea8aaa304e7 (diff) |
iio: accel: adxl367: unlock on error in adxl367_buffer_predisable()
This error path needs to call the mutex_unlock(&st->lock) before
returning.
Fixes: cbab791c5e2a ("iio: accel: add ADXL367 driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Cosmin Tanislav <[email protected]>
Link: https://lore.kernel.org/r/20220224150228.GB6856@kili
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions