Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280883
b: refs/heads/master
c: 91b158f
h: refs/heads/master
i:
  280881: 8c9c6a6
  280879: a89ea45
v: v3
  • Loading branch information
Kuninori Morimoto authored and Felipe Balbi committed Dec 12, 2011
1 parent e392cea commit 9ff21c8
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 25fa70795bf11ef6f5b147f0b231a43880ba96ca
refs/heads/master: 91b158f4d11164bfe5710873c8e162cf8c8d132b
6 changes: 4 additions & 2 deletions trunk/drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,14 +557,16 @@ static int usbhsg_pipe_disable(struct usbhsg_uep *uep)
struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep);
struct usbhs_pkt *pkt;

usbhs_pipe_disable(pipe);

while (1) {
pkt = usbhs_pkt_pop(pipe, NULL);
if (!pkt)
break;

usbhsg_queue_pop(uep, usbhsg_pkt_to_ureq(pkt), -ECONNRESET);
}

usbhs_pipe_disable(pipe);

return 0;
}

Expand Down

0 comments on commit 9ff21c8

Please sign in to comment.