diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2018-07-05 15:34:22 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-07-23 21:18:11 +0300 |
commit | 69f894c3f3185d3826ea6573afb282386b797acf (patch) | |
tree | 98174b8746cd8b1ed3bcdde9205b6fd34e2b0092 /lib/fdt_ro.c | |
parent | c344a327baefc372b7f4b7d0c17ac8b417ceaf94 (diff) | |
download | linux-69f894c3f3185d3826ea6573afb282386b797acf.tar.xz |
iio: ad9523: replace core mlock with local lock
This is also part of a long term effort to make the use of mlock opaque and
single purpose.
This lock is required for accessing device registers. The device may be
accessed by multiple processes at the same time, and this can result in
inconsistent data, where one device reads data before the other one has
finished writing.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions