Loading drivers/usb/dwc3/gadget.c +3 −0 Original line number Diff line number Diff line Loading @@ -2484,6 +2484,8 @@ static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, break; } while (1); dwc->gadget.xfer_isr_count++; if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && list_empty(&dep->req_queued)) { if (list_empty(&dep->request_list)) Loading Loading @@ -2660,6 +2662,7 @@ static void dwc3_disconnect_gadget(struct dwc3 *dwc) dwc->gadget_driver->disconnect(&dwc->gadget); spin_lock(&dwc->lock); } dwc->gadget.xfer_isr_count = 0; } static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum) Loading Loading
drivers/usb/dwc3/gadget.c +3 −0 Original line number Diff line number Diff line Loading @@ -2484,6 +2484,8 @@ static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, break; } while (1); dwc->gadget.xfer_isr_count++; if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && list_empty(&dep->req_queued)) { if (list_empty(&dep->request_list)) Loading Loading @@ -2660,6 +2662,7 @@ static void dwc3_disconnect_gadget(struct dwc3 *dwc) dwc->gadget_driver->disconnect(&dwc->gadget); spin_lock(&dwc->lock); } dwc->gadget.xfer_isr_count = 0; } static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum) Loading