summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2012-07-02 06:51:52 +0200
committerFelipe Balbi <balbi@ti.com>2012-07-02 09:02:34 +0200
commitcbc725b371f80710c5c611db78a501a6cd314ec3 (patch)
treecbfe71079c99c9bbdba463ce1675a39e235870bd /drivers
parentusb: dwc3: correct set_halt implementation for ep0 (diff)
downloadlinux-cbc725b371f80710c5c611db78a501a6cd314ec3.tar.xz
linux-cbc725b371f80710c5c611db78a501a6cd314ec3.zip
usb: dwc3: keep default hird threshold value as 4b1100
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/dwc3/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 13f257db2437..f732f2ccb9b4 100644
--- 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);