aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2016-03-01 20:49:54 +0100
committerJiri Kosina <[email protected]>2016-03-02 10:20:31 +0100
commit43a4a04d4ddb268373d5857c7a7bcbe3658e5b48 (patch)
tree7bcaa4f2b7774bdfddb465b903c79e9fd05ff83e /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc46fab28703bf12772b3bdbeabcf90df9cd20d58 (diff)
HID: thingm: improve locking
Reading from the device consists of two operations: sending the read command and the actual read from the device. If the device is accessed in between we might read wrong data. Therefore protect the full sequence of both operations with a mutex. Also change the semantics of thingm_recv to include both operations. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions