Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354611
b: refs/heads/master
c: 1a94774
h: refs/heads/master
i:
  354609: dad954d
  354607: fb03997
v: v3
  • Loading branch information
Felipe Balbi committed Jan 24, 2013
1 parent 7ac13ad commit dbb3d69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 388e5c51135f817f01177c42261f1116a6d7f2ad
refs/heads/master: 1a947746dbe1486d0e305ab512ddf085b7874cb3
7 changes: 5 additions & 2 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -2225,8 +2225,11 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
reg = dwc3_readl(dwc->regs, DWC3_DCTL);
reg &= ~(DWC3_DCTL_HIRD_THRES_MASK | DWC3_DCTL_L1_HIBER_EN);

/* TODO: This should be configurable */
reg |= DWC3_DCTL_HIRD_THRES(28);
/*
* TODO: This should be configurable. For now using
* maximum allowed HIRD threshold value of 0b1100
*/
reg |= DWC3_DCTL_HIRD_THRES(12);

dwc3_writel(dwc->regs, DWC3_DCTL, reg);
}
Expand Down

0 comments on commit dbb3d69

Please sign in to comment.