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

Commit e38e8b67 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: dwc3: Remove used delay for QMP PHY specific initialization



Currently cumulative delay of 300ms is being added as part QMP PHY
specific initialization sequeunce. This delay is not required as
part of this initialization and it doesn't affect the functionality
of QMP PHY. Hence remove this delay which would improve device
boot up time.

Change-Id: I69d182ab14078f7d4c779bf9f57b93d1c4e8649d
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -123,12 +123,9 @@ static void dwc3_core_soft_reset_after_phy_init(struct dwc3 *dwc)
	usb_phy_reset(dwc->usb3_phy);
	usb_phy_reset(dwc->usb2_phy);

	msleep(100);

	/* Bring up PHYs */
	usb_phy_init(dwc->usb2_phy);
	usb_phy_init(dwc->usb3_phy);
	msleep(100);

	/* Put Core in Reset */
	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
@@ -137,8 +134,6 @@ static void dwc3_core_soft_reset_after_phy_init(struct dwc3 *dwc)

	dwc3_notify_event(dwc, DWC3_CONTROLLER_RESET_EVENT);

	msleep(100);

	/* Take Core out of reset state */
	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
	reg &= ~DWC3_GCTL_CORESOFTRESET;