Loading drivers/usb/dwc3/gadget.c +11 −0 Original line number Diff line number Diff line Loading @@ -857,6 +857,15 @@ static void dwc3_stop_active_transfers(struct dwc3 *dwc) DWC3_CONTROLLER_NOTIFY_CLEAR_DB, 0); dwc3_remove_requests(dwc, dep); if (dep->endpoint.ep_type != EP_TYPE_GSI && !dep->endpoint.endless) { if (dep->trb_pool) { memset(&dep->trb_pool[0], 0, sizeof(struct dwc3_trb) * dep->num_trbs); dbg_event(dep->number, "Clr_TRB", 0); } } } dbg_log_string("DONE"); } Loading Loading @@ -3027,6 +3036,8 @@ static void dwc3_endpoint_interrupt(struct dwc3 *dwc, dep->flags &= ~(DWC3_EP_END_TRANSFER_PENDING | DWC3_EP_TRANSFER_STARTED); dwc3_gadget_ep_cleanup_cancelled_requests(dep); dbg_log_string("DWC3_DEPEVT_EPCMDCMPLT (%d)", dep->number); } break; case DWC3_DEPEVT_STREAMEVT: Loading Loading
drivers/usb/dwc3/gadget.c +11 −0 Original line number Diff line number Diff line Loading @@ -857,6 +857,15 @@ static void dwc3_stop_active_transfers(struct dwc3 *dwc) DWC3_CONTROLLER_NOTIFY_CLEAR_DB, 0); dwc3_remove_requests(dwc, dep); if (dep->endpoint.ep_type != EP_TYPE_GSI && !dep->endpoint.endless) { if (dep->trb_pool) { memset(&dep->trb_pool[0], 0, sizeof(struct dwc3_trb) * dep->num_trbs); dbg_event(dep->number, "Clr_TRB", 0); } } } dbg_log_string("DONE"); } Loading Loading @@ -3027,6 +3036,8 @@ static void dwc3_endpoint_interrupt(struct dwc3 *dwc, dep->flags &= ~(DWC3_EP_END_TRANSFER_PENDING | DWC3_EP_TRANSFER_STARTED); dwc3_gadget_ep_cleanup_cancelled_requests(dep); dbg_log_string("DWC3_DEPEVT_EPCMDCMPLT (%d)", dep->number); } break; case DWC3_DEPEVT_STREAMEVT: Loading