diff options
| author | Miquel Raynal <[email protected]> | 2022-02-07 15:38:33 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-04-10 16:21:45 +0100 |
| commit | 474010127e2505fc463236470908e1ff5ddb3578 (patch) | |
| tree | c5c04d1538b6f04dec668068108da746085c50fb /tools/perf/scripts/python/flamegraph.py | |
| parent | 05a32f1aeb05c41dd33d95c060ee5d1b81f70e55 (diff) | |
iio: st_sensors: Add a local lock for protecting odr
Right now the (framework) mlock lock is (ab)used for multiple purposes:
1- protecting concurrent accesses over the odr local cache
2- avoid changing samplig frequency whilst buffer is running
Let's start by handling situation #1 with a local lock.
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions