commit | 0aee99a1ea53de1aedcf96a4d52d6161ffba011a | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Fri Nov 22 15:24:19 2019 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Nov 23 12:16:16 2019 +0000 |
tree | 282a7855b9e83eb98314c86321992b1bcbacc807 | |
parent | ce476cd18aaea91ee31b991774553ba5239c9ee2 [diff] |
iio: gyro: adis16136: rework locks using ADIS library's state lock This replaces indio_dev's mlock with the state lock/mutex from the ADIS library. The __adis16136_get_freq() function has been prefixed to mark it as unlocked. The adis16136_{set,get}_filter() functions now hold the state lock for all the ops that they do. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>