diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-05-30 16:18:09 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-06-17 23:06:47 +0300 |
commit | dbcf6b5d2625b904f13810b168773b05d891204b (patch) | |
tree | 87c821c831af398a4fb94c603bba6d85fe09f261 /security/keys | |
parent | 38ffa3a34cb04c378c32c04337d0b98247a04012 (diff) | |
download | linux-dbcf6b5d2625b904f13810b168773b05d891204b.tar.xz |
iio: amplifiers: ad8366: use own lock to guard state
This driver is still using iio_dev's mlock to guard against inconsistent
state. This has been discouraged for some time.
This change switches to using it's own mutex, defined on the state struct.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions