aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2016-09-16 08:18:21 -0300
committerMauro Carvalho Chehab <[email protected]>2016-10-24 17:39:43 -0200
commit7c073fffb763dceb38737c32408750b3809773f9 (patch)
treed9027de530c3343aa66a87361d47528968854742 /tools/perf/scripts/python/bin
parent1ff52fa0f19c407e0e091bf0c8e169ee017ef725 (diff)
[media] imon: use complete() instead of complete_all()
There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). While we are at it, we do a small optimization with the reinitialization of the completion before we use it. The usage pattern of the completion is: waiter context waker context send_packet() init_completion() usb_submit_urb() wait_for_completion_interruptible() usb_tx_callback() complete() imon_disonnect() complete() Signed-off-by: Daniel Wagner <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions