diff options
| author | Wesley Cheng <[email protected]> | 2021-03-19 02:31:25 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 13:01:11 +0100 |
| commit | 71ca43f30df9c642970f9dc9b2d6f463f4967e7b (patch) | |
| tree | 67abf9e67dbc2ec95ee83c781ad70b3bb06d77f7 /include/linux | |
| parent | 02fa4b980245087a04ea34ae7541ebdc56a5daa4 (diff) | |
usb: dwc3: gadget: Ignore EP queue requests during bus reset
The current dwc3_gadget_reset_interrupt() will stop any active
transfers, but only addresses blocking of EP queuing for while we are
coming from a disconnected scenario, i.e. after receiving the disconnect
event. If the host decides to issue a bus reset on the device, the
connected parameter will still be set to true, allowing for EP queuing
to continue while we are disabling the functions. To avoid this, set the
connected flag to false until the stop active transfers is complete.
Signed-off-by: Wesley Cheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions