projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f0d96
)
usb: dwc3: keep default hird threshold value as 4b1100
author
Pratyush Anand
<pratyush.anand@st.com>
Mon, 2 Jul 2012 04:51:52 +0000
(10:21 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 2 Jul 2012 07:02:34 +0000
(10:02 +0300)
as per data book any HIRD threshold value greater than 4b1100 is
invalid. So set the maximum valid value as default values.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 13f257db243773b1ab61df4e32b21942216123dd..f732f2ccb9b469b253c180d5702c01e6d3a12cad 100644
(file)
--- a/
drivers/usb/dwc3/gadget.c
+++ b/
drivers/usb/dwc3/gadget.c
@@
-2448,7
+2448,7
@@
int __devinit dwc3_gadget_init(struct dwc3 *dwc)
reg &= ~(DWC3_DCTL_HIRD_THRES_MASK | DWC3_DCTL_L1_HIBER_EN);
/* TODO: This should be configurable */
- reg |= DWC3_DCTL_HIRD_THRES(
31
);
+ reg |= DWC3_DCTL_HIRD_THRES(
28
);
dwc3_writel(dwc->regs, DWC3_DCTL, reg);