Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311339
b: refs/heads/master
c: e8d4e8b
h: refs/heads/master
i:
  311337: eb710a4
  311335: 60620eb
v: v3
  • Loading branch information
Pratyush Anand authored and Felipe Balbi committed Jun 15, 2012
1 parent 5bb849f commit d8af39b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2347fc440558993013e8132791c409239da4fc0d
refs/heads/master: e8d4e8be860d935099ffcf695dcd29b55ae50b36
3 changes: 2 additions & 1 deletion trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,14 +1091,15 @@ static int dwc3_gadget_ep_dequeue(struct usb_ep *ep,
if (r == req) {
/* wait until it is processed */
dwc3_stop_active_transfer(dwc, dep->number);
goto out0;
goto out1;
}
dev_err(dwc->dev, "request %p was not queued to %s\n",
request, ep->name);
ret = -EINVAL;
goto out0;
}

out1:
/* giveback the request */
dwc3_gadget_giveback(dep, req, -ECONNRESET);

Expand Down

0 comments on commit d8af39b

Please sign in to comment.