Loading drivers/usb/dwc3/gadget.c +7 −0 Original line number Diff line number Diff line Loading @@ -1504,6 +1504,13 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) &req->request, req->dep->name)) return -EINVAL; if (req->request.status == -EINPROGRESS) { ret = -EBUSY; dev_err(dwc->dev, "%s: %pK request already in queue", dep->name, req); return ret; } req->request.actual = 0; req->request.status = -EINPROGRESS; req->direction = dep->direction; Loading Loading
drivers/usb/dwc3/gadget.c +7 −0 Original line number Diff line number Diff line Loading @@ -1504,6 +1504,13 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) &req->request, req->dep->name)) return -EINVAL; if (req->request.status == -EINPROGRESS) { ret = -EBUSY; dev_err(dwc->dev, "%s: %pK request already in queue", dep->name, req); return ret; } req->request.actual = 0; req->request.status = -EINPROGRESS; req->direction = dep->direction; Loading