diff options
author | Felipe Balbi <[email protected]> | 2019-10-31 11:07:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-10-31 18:57:54 +0100 |
commit | d8eca64eec7103ab1fbabc0a187dbf6acfb2af93 (patch) | |
tree | 8758ed40cb287c190ae0190cc3790164bd371aa2 /tools/perf/util/trace-event-scripting.c | |
parent | 94e259f81a714c96f381d362228fc4743db49742 (diff) |
usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
When disabling an endpoint which has cancelled requests, we should
make sure to giveback requests that are currently pending in the
cancelled list, otherwise we may fall into a situation where command
completion interrupt fires after endpoint has been disabled, therefore
causing a splat.
Fixes: fec9095bdef4 "usb: dwc3: gadget: remove wait_end_transfer"
Reported-by: Roger Quadros <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions