Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303813
b: refs/heads/master
c: b4036cc
h: refs/heads/master
i:
  303811: 7183a01
v: v3
  • Loading branch information
Paul Zimmerman authored and Felipe Balbi committed May 4, 2012
1 parent bf7d999 commit a4d8369
Show file tree
Hide file tree
Showing 5 changed files with 388 additions and 66 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: 20c5e74c7b47cefaf2cd0f84bdb4830b66452384
refs/heads/master: b4036ccdd2ce5ec0c4f29b91312dd3cf19fc9152
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/f_loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static void disable_loopback(struct f_loopback *loop)
struct usb_composite_dev *cdev;

cdev = loop->function.config->cdev;
disable_endpoints(cdev, loop->in_ep, loop->out_ep);
disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL);
VDBG(cdev, "%s disabled\n", loop->function.name);
}

Expand Down Expand Up @@ -329,7 +329,7 @@ enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop)
* than 'buflen' bytes each.
*/
for (i = 0; i < qlen && result == 0; i++) {
req = alloc_ep_req(ep);
req = alloc_ep_req(ep, 0);
if (req) {
req->complete = loopback_complete;
result = usb_ep_queue(ep, req, GFP_ATOMIC);
Expand Down
Loading

0 comments on commit a4d8369

Please sign in to comment.