Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00459f51 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: Clear DELAYP1TRANS bit in DWC3_GUSB3PIPECTL(0) reg"

parents 91e42399 1428ea92
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -160,11 +160,9 @@ static void dwc3_core_and_phy_soft_reset(struct dwc3 *dwc)
	reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);

	if (dwc->revision >= DWC3_REVISION_270A) {
	reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
		reg |= DWC3_GUSB3PIPECTL_DELAYP1TRANS;
	reg &= ~DWC3_GUSB3PIPECTL_DELAYP1TRANS;
	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
	}

	/* Assert USB2 PHY reset */
	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));