Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289615
b: refs/heads/master
c: bb5cfd6
h: refs/heads/master
i:
  289613: 4231ae0
  289611: c61a482
  289607: 87bef96
  289599: 8de4422
v: v3
  • Loading branch information
Felipe Balbi committed Feb 6, 2012
1 parent 84c2a44 commit 3c6df8a
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 7b7dd0253cd50fdc413b4ec199f1f3af08b7ba0d
refs/heads/master: bb5cfd6811c63c47403e98028bde7e98bd7a1751
2 changes: 1 addition & 1 deletion trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
case DWC3_ADDRESS_STATE:
ret = dwc3_ep0_delegate_req(dwc, ctrl);
/* if the cfg matches and the cfg is non zero */
if (!ret && cfg)
if (cfg && (!ret || (ret == USB_GADGET_DELAYED_STATUS)))
dwc->dev_state = DWC3_CONFIGURED_STATE;
break;

Expand Down

0 comments on commit 3c6df8a

Please sign in to comment.