aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDoug Anderson <[email protected]>2014-04-30 10:44:05 -0700
committerLee Jones <[email protected]>2014-06-03 08:11:46 +0100
commit362196e5d0832ce3c4e1df376c02cff812a2391b (patch)
tree3ef8f401d423fe0011e1bdfe573fea914feded82 /tools/perf/util/scripting-engines/trace-event-python.c
parent1fe368665b1499041919d78467147849989af7c9 (diff)
mfd: cros_ec: spi: Add mutex to cros_ec_spi
The main transfer function for cros_ec_spi can be called by more than one client at a time. Make sure that those clients don't stomp on each other by locking the bus for the duration of the transfer function. Signed-off-by: Doug Anderson <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Andrew Bresticker <[email protected]> Tested-by: Stephen Warren <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions