aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2013-05-23 10:43:00 -0300
committerMauro Carvalho Chehab <[email protected]>2013-06-08 19:45:58 -0300
commitfcb62825e7289f937f4af26a741e3af8da9242de (patch)
tree27ec1edfc3af2eea2f6b34bfdad2b837ce202ec2 /tools/perf/scripts/python
parentd35167a1d69ae027615d4345a678555bf1c6fed6 (diff)
[media] coda: replace completion with mutex
Not only do we need to wait for job completion when we want to call a command on the CODA in start/stop_streaming, we also need to make sure that a new job doesn't start before the command finished. Use a mutex to lock the coda command handling. On timeout, the device_run job must be marked as finished and the mutex released, as otherwise coda_release will block. Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Kamil Debski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions