Loading drivers/usb/dwc3/gadget.c +11 −0 Original line number Diff line number Diff line Loading @@ -864,6 +864,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 @@ -3041,6 +3050,8 @@ static void dwc3_endpoint_interrupt(struct dwc3 *dwc, if (cmd == DWC3_DEPCMD_ENDTRANSFER) { dep->flags &= ~DWC3_EP_END_TRANSFER_PENDING; dbg_log_string("DWC3_DEPEVT_EPCMDCMPLT (%d)", dep->number); wake_up(&dep->wait_end_transfer); } break; Loading Loading
drivers/usb/dwc3/gadget.c +11 −0 Original line number Diff line number Diff line Loading @@ -864,6 +864,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 @@ -3041,6 +3050,8 @@ static void dwc3_endpoint_interrupt(struct dwc3 *dwc, if (cmd == DWC3_DEPCMD_ENDTRANSFER) { dep->flags &= ~DWC3_EP_END_TRANSFER_PENDING; dbg_log_string("DWC3_DEPEVT_EPCMDCMPLT (%d)", dep->number); wake_up(&dep->wait_end_transfer); } break; Loading