summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJonathan Santos <Jonathan.Santos@analog.com>2025-03-07 00:01:51 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-11 22:09:16 +0300
commit809d605d138032d63013838cf28188414d842919 (patch)
tree4af4e60ddb5cd41df38dc27215d71c1eaed0a24b /tools/perf/scripts/python/export-to-postgresql.py
parent20182142045fc44ffd883e266d9497396cc0115c (diff)
downloadlinux-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions