Merge "dwc3: core: clear DELAYP1TRANS with USB3PIPECTL register"
This commit is contained in:
commit
00193d2edf
1 changed files with 5 additions and 0 deletions
|
@ -155,6 +155,7 @@ static int dwc3_init_usb_phys(struct dwc3 *dwc)
|
|||
static int dwc3_core_reset(struct dwc3 *dwc)
|
||||
{
|
||||
int ret;
|
||||
u32 reg;
|
||||
|
||||
/* Reset PHYs */
|
||||
usb_phy_reset(dwc->usb2_phy);
|
||||
|
@ -168,6 +169,10 @@ static int dwc3_core_reset(struct dwc3 *dwc)
|
|||
return ret;
|
||||
}
|
||||
|
||||
reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
|
||||
reg &= ~DWC3_GUSB3PIPECTL_DELAYP1TRANS;
|
||||
dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
|
||||
|
||||
dwc3_notify_event(dwc, DWC3_CONTROLLER_RESET_EVENT);
|
||||
|
||||
dwc3_notify_event(dwc, DWC3_CONTROLLER_POST_RESET_EVENT);
|
||||
|
|
Loading…
Add table
Reference in a new issue