Merge "usb: dwc3: Stop active transfer on control endpoints"
This commit is contained in:
commit
74c42769fc
1 changed files with 1 additions and 1 deletions
|
@ -812,7 +812,7 @@ static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep)
|
|||
dbg_log_string("START for %s(%d)", dep->name, dep->number);
|
||||
dwc3_stop_active_transfer(dwc, dep->number, true);
|
||||
|
||||
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(%d)", dwc->ep0state);
|
||||
|
|
Loading…
Add table
Reference in a new issue