diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-02-25 13:33:19 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 20:28:51 +0300 |
commit | 2303248b291f537f0414a644a53483c71023136f (patch) | |
tree | bf004798d8952726117f91d52b1b3d8fd49adb2d /drivers/iio/pressure | |
parent | 2dd86ba821330840661e7102e3304309299aa635 (diff) | |
download | linux-2303248b291f537f0414a644a53483c71023136f.tar.xz |
iio: imu: adis: add a note better explaining state_lock
The 'state_lock' mutex was renamed from 'txrx_lock' in a previous patch and
is intended to be used by ADIS drivers to protect the state of devices
during consecutive R/W ops.
The initial patch that introduced this change did not do a good [well, any]
job at explaining this. This patch adds a comment to the 'state_lock'
better explaining it's use.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions