Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115811
b: refs/heads/master
c: 15d5a9a
h: refs/heads/master
i:
  115809: a3229b1
  115807: 98a27df
v: v3
  • Loading branch information
Li Yang authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 06823f2 commit 2c90026
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd
refs/heads/master: 15d5a9acb1df1e22a7ba60aaaad758d9d71e5ea7
4 changes: 4 additions & 0 deletions trunk/drivers/usb/gadget/fsl_qe_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,10 @@ static int qe_ep_set_halt(struct usb_ep *_ep, int value)
udc->ep0_state = WAIT_FOR_SETUP;
udc->ep0_dir = 0;
}

/* set data toggle to DATA0 on clear halt */
if (value == 0)
ep->data01 = 0;
out:
dev_vdbg(udc->dev, "%s %s halt stat %d\n", ep->ep.name,
value ? "set" : "clear", status);
Expand Down

0 comments on commit 2c90026

Please sign in to comment.