diff options
author | 2020-04-22 12:38:11 +0300 | |
---|---|---|
committer | 2020-04-25 18:33:54 +0100 | |
commit | 115c215a7e5753ddf982c8760ce7904dd3fbb8ae (patch) | |
tree | a27e1dbea3d428225881f87222ff767101ccdd1e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: chemical: atlas-sensor: correct DO-SM channels (diff) | |
download | wireguard-linux-115c215a7e5753ddf982c8760ce7904dd3fbb8ae.tar.xz wireguard-linux-115c215a7e5753ddf982c8760ce7904dd3fbb8ae.zip |
iio: imu: st_lsm6dsx: unlock on error in st_lsm6dsx_shub_write_raw()
We need to release a lock if st_lsm6dsx_check_odr() fails, we can't
return directly.
Fixes: 76551a3c3df1 ("iio: imu: st_lsm6dsx: specify slave odr in slv_odr")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions