diff options
author | Dan Carpenter <[email protected]> | 2020-04-22 12:38:11 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2020-04-25 18:33:54 +0100 |
commit | 115c215a7e5753ddf982c8760ce7904dd3fbb8ae (patch) | |
tree | a27e1dbea3d428225881f87222ff767101ccdd1e /include/linux/fpga/fpga-mgr.h | |
parent | 98bcead07951ed76e1e85226c3a54d117e9f8b59 (diff) |
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions