commit | c5485a5d6a5f7d00ca4aba6698526c5ae3f2a1a2 | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Fri Nov 22 15:24:17 2019 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Nov 23 12:13:35 2019 +0000 |
tree | bf48c48ae5c1952f6a78c692d6cea7713c4ebc20 | |
parent | cb5a07f1f15cc3fd7e12bfdd48ba0e9fb585ea5e [diff] |
iio: imu: adis: group single conversion under a single state lock The single conversion function does a series of reads + writes. This change extends the use of the state_lock for the entire set of operations. Previously, indio_dev's mlock was used. This change also removes the use of this lock. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>