diff options
| author | Miquel Raynal <[email protected]> | 2022-02-07 15:38:34 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-04-10 16:21:45 +0100 |
| commit | 1234596839ada476b89314bf65f7ab9d422b3721 (patch) | |
| tree | 7f9b5c65d1bb133530c8f6e9aea471c22f312455 /tools/perf/scripts/python/bin | |
| parent | 474010127e2505fc463236470908e1ff5ddb3578 (diff) | |
iio: st_sensors: Stop abusing mlock to ensure internal coherency
An odr_lock has been introduced to protect local accesses to the odr
internal cache and ensure the cached value always reflected the actual
value. Using the mlock() for this purpose is no longer needed, so let's
drop these extra mutex_lock/unlock() calls.
Suggested-by: Jonathan Cameron <[email protected]>
Cc: Denis Ciocca <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions