Re: [PATCH 09/10] iio: gyro: adis16136: rework locks using ADIS library's state lock

2019-10-06 Thread Jonathan Cameron
On Thu, 26 Sep 2019 14:18:11 +0300 Alexandru Ardelean wrote: > 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 > lo

[PATCH 09/10] iio: gyro: adis16136: rework locks using ADIS library's state lock

2019-09-26 Thread Alexandru Ardelean
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 --- d