Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325962
b: refs/heads/master
c: 2dfe37d
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Aug 3, 2012
1 parent ac734f0 commit e603bcc
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 7125d584d20ba7624488ddefa84b17ea6ce558f1
refs/heads/master: 2dfe37d4a5f9a7586a7ff79249492fb8280afb6f
7 changes: 6 additions & 1 deletion trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,14 @@ int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,

static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc)
{
struct dwc3_ep *dep = dwc->eps[0];
struct dwc3_ep *dep;

/* reinitialize physical ep1 */
dep = dwc->eps[1];
dep->flags = DWC3_EP_ENABLED;

/* stall is always issued on EP0 */
dep = dwc->eps[0];
__dwc3_gadget_ep_set_halt(dep, 1);
dep->flags = DWC3_EP_ENABLED;
dwc->delayed_status = false;
Expand Down

0 comments on commit e603bcc

Please sign in to comment.