Commit 44b2ffc5 authored by Zefan Li's avatar Zefan Li

Revert "usb: dwc3: Reset the transfer resource index on SET_INTERFACE"

It was applied to the wrong function.

This reverts commit 15488de7.
parent 1f2a65a2
......@@ -648,10 +648,6 @@ static void dwc3_ep0_xfer_complete(struct dwc3 *dwc,
dev_vdbg(dwc->dev, "Status Phase\n");
dwc3_ep0_complete_req(dwc, event);
break;
case USB_REQ_SET_INTERFACE:
dev_vdbg(dwc->dev, "USB_REQ_SET_INTERFACE\n");
dwc->start_config_issued = false;
/* Fall through */
default:
WARN(true, "UNKNOWN ep0state %d\n", dwc->ep0state);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment