|
@@ -2225,8 +2225,11 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
|
|
reg = dwc3_readl(dwc->regs, DWC3_DCTL);
|
|
reg = dwc3_readl(dwc->regs, DWC3_DCTL);
|
|
reg &= ~(DWC3_DCTL_HIRD_THRES_MASK | DWC3_DCTL_L1_HIBER_EN);
|
|
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);
|
|
dwc3_writel(dwc->regs, DWC3_DCTL, reg);
|
|
}
|
|
}
|