diff options
author | Michal Nazarewicz <[email protected]> | 2016-10-04 02:07:34 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-10-17 12:34:25 +0300 |
commit | a9e6f83c2df199187a5248f824f31b6787ae23ae (patch) | |
tree | 62a8d04048150a2509e158f272f69f6ce248c293 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 454915dde06a51133750c6745f0ba57361ba209d (diff) |
usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
ffs_func_eps_disable is called from atomic context so it cannot sleep
thus cannot grab a mutex. Change the handling of epfile->read_buffer
to use non-sleeping synchronisation method.
Reported-by: Chen Yu <[email protected]>
Signed-off-by: Michał Nazarewicz <[email protected]>
Fixes: 9353afbbfa7b ("buffer data from ‘oversized’ OUT requests")
Tested-by: John Stultz <[email protected]>
Tested-by: Chen Yu <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions