diff options
| author | Krzysztof Opasiak <[email protected]> | 2017-01-19 18:55:29 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-01-24 11:04:18 +0200 |
| commit | 33e4c1a9987a1fc3b42c3b534100b5b006d55c61 (patch) | |
| tree | e23f03736fee171f5674698af24372ccd941445f /tools/perf/scripts/python/netdev-times.py | |
| parent | aa65d11aa008f4de58a9cee7e121666d9d68505e (diff) | |
usb: gadget: f_hid: Use spinlock instead of mutex
As IN request has to be allocated in set_alt() and released in
disable() we cannot use mutex to protect it as we cannot sleep
in those funcitons. Let's replace this mutex with a spinlock.
Cc: [email protected]
Tested-by: David Lechner <[email protected]>
Signed-off-by: Krzysztof Opasiak <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions