commit | c773f70015f6f07f4abe93b486da7f53fde6e878 | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Thu Apr 20 23:01:57 2017 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Apr 26 06:04:06 2017 +0100 |
tree | d13f2f882b73cc7af43938511dbc58c2bac234ab | |
parent | 9a043b0bf286e189ab49410c66170c86d59563c5 [diff] |
iio: inkern: fix a static checker error Avoid this smatch error: drivers/iio/inkern.c:751 iio_read_avail_channel_raw() error: double unlock 'mutex:&chan->indio_dev->info_exist_lock' Fixes: 00c5f80c2fad ("iio: inkern: add helpers to query available values from channels") Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org>