commit | 160b37f49ec3b3adc6916f411ee3ceebea8dd13d | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Fri Nov 22 15:24:21 2019 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Nov 23 12:19:15 2019 +0000 |
tree | ede739fdeb948458a676717c5cd92c5c4e3bb9b7 | |
parent | d693845da31c4d1093a8165d1ac4a73eac0f9373 [diff] |
iio: gyro: adis16260: replace mlock with ADIS lib's state_lock This change uses the ADIS library's state_lock to protect the state of the `max_speed_hz` change that is done during the set of the sampling frequency. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>