mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "usb: dwc3: Stop active transfer on control endpoints"
This commit is contained in:
commit
b5b0299091
1 changed files with 1 additions and 1 deletions
|
|
@ -803,7 +803,7 @@ static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep)
|
|||
|
||||
dwc3_stop_active_transfer(dep, true, false);
|
||||
|
||||
if (dep->number == 1 && dwc->ep0state != EP0_SETUP_PHASE) {
|
||||
if (dep->number == 0 && dwc->ep0state != EP0_SETUP_PHASE) {
|
||||
unsigned int dir;
|
||||
|
||||
dbg_log_string("CTRLPEND", dwc->ep0state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue