Loading drivers/usb/dwc3/gadget.c +7 −0 Original line number Diff line number Diff line Loading @@ -2201,6 +2201,13 @@ static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, } dwc3_gadget_giveback(dep, req, status); /* EP possibly disabled during giveback? */ if (!(dep->flags & DWC3_EP_ENABLED)) { dev_dbg(dwc->dev, "%s disabled while handling ep event\n", dep->name); return 0; } if (ret) break; } while (1); Loading Loading
drivers/usb/dwc3/gadget.c +7 −0 Original line number Diff line number Diff line Loading @@ -2201,6 +2201,13 @@ static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, } dwc3_gadget_giveback(dep, req, status); /* EP possibly disabled during giveback? */ if (!(dep->flags & DWC3_EP_ENABLED)) { dev_dbg(dwc->dev, "%s disabled while handling ep event\n", dep->name); return 0; } if (ret) break; } while (1); Loading