Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264988
b: refs/heads/master
c: 771f184
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Sep 9, 2011
1 parent 0d6bac1 commit bc8bf8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: f78d32e79ea3218da34e78ccca4eb4de14f2512d
refs/heads/master: 771f184ecebf34929a849eaa707aa463234254f7
9 changes: 3 additions & 6 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,13 +1150,10 @@ static int dwc3_gadget_start(struct usb_gadget *g,

reg = dwc3_readl(dwc->regs, DWC3_GCTL);

/*
* REVISIT: power down scale might be different
* depending on PHY used, need to pass that via platform_data
*/
reg |= DWC3_GCTL_PWRDNSCALE(0x61a)
| DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_DEVICE);
reg &= ~DWC3_GCTL_SCALEDOWN(3);
reg &= ~DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_OTG);
reg &= ~DWC3_GCTL_DISSCRAMBLE;
reg |= DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_DEVICE);

/*
* WORKAROUND: DWC3 revisions <1.90a have a bug
Expand Down

0 comments on commit bc8bf8b

Please sign in to comment.