Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316955
b: refs/heads/master
c: 1591633
h: refs/heads/master
i:
  316953: ba40b01
  316951: 6c2e932
v: v3
  • Loading branch information
Pratyush Anand authored and Felipe Balbi committed Jun 15, 2012
1 parent 63e017b commit 705d387
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: dcae3573b98b2205961bfa5821427f5664422cd8
refs/heads/master: 1591633ed6c4c3994944f31ddb59bc072a2ed0ca
7 changes: 5 additions & 2 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,11 @@ static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep)
*/
udelay(100);

req = next_request(&dep->req_queued);
dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
while (!list_empty(&dep->req_queued)) {
req = next_request(&dep->req_queued);

dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
}
}

while (!list_empty(&dep->request_list)) {
Expand Down

0 comments on commit 705d387

Please sign in to comment.