diff options
| author | 2019-11-22 15:24:18 +0200 | |
|---|---|---|
| committer | 2019-11-23 12:14:59 +0000 | |
| commit | ce476cd18aaea91ee31b991774553ba5239c9ee2 (patch) | |
| tree | 7689ca1f508ad4c030ad95a7577925b19ba12c4d /include/linux/debugobjects.h | |
| parent | iio: imu: adis: group single conversion under a single state lock (diff) | |
iio: imu: adis16400: rework locks using ADIS library's state lock
This change removes the use of indio_dev's mlock in favor using the state
lock from the ADIS library.
The set_freq() & get_freq() hooks are unlocked, so they require specific
locking. That is because in some cases the get_freq() hook is used in
combination with adis16400_set_filter().
In cases where only one read/write is done, the functions that hold the
state lock are used.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
