commit | 770d465619423a946248018ea39ed9a74c8f2ff4 | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Fri Nov 22 15:24:12 2019 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Nov 23 11:57:42 2019 +0000 |
tree | 1580f3837311994146408faf91d935fd1841e544 | |
parent | 6a9afcb198b4de323485c0ee94ff09f653012d4b [diff] |
iio: imu: adis: add unlocked read/write function versions This will allow more flexible control to group reads & writes into a single lock (particularly the state_lock). The end-goal is to remove the indio_dev->mlock usage, and the simplest fix would have been to just add another lock, which would not be a good idea on the long-run. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>