summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-01-23 16:07:20 -0800
committerHemant Kumar <hemantk@codeaurora.org>2017-01-23 16:23:55 -0800
commitbaaba9bc36a5df26544f0430b47600494066138d (patch)
tree6c35e07e6871fc01f283fe3b7b7859053f6e5ed1 /tools/perf/scripts/python/bin
parent1f1d94408446043289fe0126897f98af2dce0ecd (diff)
usb: gadget: f_mass_storage: Add delay before continuing status stage
There is a possibility of race between ep0 setup phase completion handler and mass storage thread. Upon set_alt if thread gets a chance to run before dwc3_ep0_delegate_req() returns USB_GADGET_DELAYED_STATUS and sets delayed_status flag to true status phase request never gets queued. This results into device enumeration failure followed by a bus resets. Fix this issue by adding delay before calling usb_composite_setup_continue() to queue the status phase request. Change-Id: Iec6cf668053af310be5171d19d204fb452e01f2a Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions