diff options
author | Jonathan Santos <Jonathan.Santos@analog.com> | 2025-03-07 00:01:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-11 22:09:16 +0300 |
commit | 809d605d138032d63013838cf28188414d842919 (patch) | |
tree | 4af4e60ddb5cd41df38dc27215d71c1eaed0a24b /tools/perf/scripts/python/parallel-perf.py | |
parent | 20182142045fc44ffd883e266d9497396cc0115c (diff) | |
download | linux-809d605d138032d63013838cf28188414d842919.tar.xz |
iio: adc: ad7768-1: remove unnecessary locking
The current locking is only preventing a triggered buffer Transfer and a
debugfs register access from happening at the same time. If a register
access happens during a buffered read, the action is doomed to fail anyway,
since we need to write a magic value to exit continuous read mode.
Remove locking from the trigger handler and use
iio_device_claim_direct() instead in the register access function.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
Link: https://patch.msgid.link/d0450b7c5d8467e54913ef905f6147baa2b866b3.1741268122.git.Jonathan.Santos@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions