diff options
| author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-11-22 15:24:19 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-11-23 12:16:16 +0000 |
| commit | 0aee99a1ea53de1aedcf96a4d52d6161ffba011a (patch) | |
| tree | 282a7855b9e83eb98314c86321992b1bcbacc807 /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
