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

Commit 248dd47d 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-msm: Allow Super speed phy suspend in P3 link state"

parents fd632518 ac447b26
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -3131,8 +3131,10 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
		dwc3_writel(dwc->regs, DWC3_DCTL, reg);
	}

	if (dwc->gadget.speed != USB_SPEED_SUPER)
		/* Suspend unneeded PHY */
	/*
	 * In HS mode this allows SS phy suspend. In SS mode this allows ss phy
	 * suspend in P3 state and generates IN_P3 power event irq.
	 */
	dwc3_gadget_usb3_phy_suspend(dwc, true);

	dep = dwc->eps[0];