aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2019-11-22 15:24:18 +0200
committerJonathan Cameron <[email protected]>2019-11-23 12:14:59 +0000
commitce476cd18aaea91ee31b991774553ba5239c9ee2 (patch)
tree7689ca1f508ad4c030ad95a7577925b19ba12c4d /tools/perf/scripts/python
parentc5485a5d6a5f7d00ca4aba6698526c5ae3f2a1a2 (diff)
iio: imu: adis16400: rework locks using ADIS library's state lock
This change removes the use of indio_dev's mlock in favor using the state lock from the ADIS library. The set_freq() & get_freq() hooks are unlocked, so they require specific locking. That is because in some cases the get_freq() hook is used in combination with adis16400_set_filter(). In cases where only one read/write is done, the functions that hold the state lock are used. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions