diff options
| author | Daniel Wagner <[email protected]> | 2016-09-22 15:51:53 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2016-11-03 10:38:38 +0200 |
| commit | 5bdcde90d745e111069900742d127310fb827b71 (patch) | |
| tree | 44f8b58a1a6f2b46fc7e12fa0c0b18aeee920819 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 31faf878bd8c7e2c078a3b75f65efe64f23b0f18 (diff) | |
usb: gadget: f_fs: use complete() instead 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().
The usage pattern of the completion is:
waiter context waker context
reinit_completion()
usb_esp_queue()
wait_for_completion_interruptible()
ffs_ep0_complete()
complete()
Acked-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions