aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlison Schofield <[email protected]>2016-05-31 21:35:49 -0700
committerJonathan Cameron <[email protected]>2016-06-03 13:12:50 +0100
commitd7203ad864db0b34f0e106ec0659890c4e58c143 (patch)
treef1e4612e277b371c44c13099c8342ca2066259a3 /tools/perf/scripts/python/export-to-postgresql.py
parentafa814841c812cd1a36dbbb124542a487c2df5ee (diff)
iio: adc: ad7791: claim direct mode when writing frequency
Driver was checking for direct mode and trying to lock it, but left a gap where mode could change before the desired operation. Use iio_device_claim_direct_mode() to guarantee device stays in direct mode. Refactor function to clarify look-up followed by lock sequence. Signed-off-by: Alison Schofield <[email protected]> Cc: Daniel Baluta <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions