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

Commit d19208b2 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: Enable USB3 PHY suspend in host mode"

parents dca690e7 8d9e9839
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3043,7 +3043,6 @@ static int dwc3_msm_remove(struct platform_device *pdev)
static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on)
{
	struct dwc3 *dwc = platform_get_drvdata(mdwc->dwc3);
	struct usb_hcd *hcd;
	int ret = 0;

	if (!dwc->xhci)
@@ -3114,9 +3113,8 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on)
		if (mdwc->disable_host_mode_pm)
			pm_runtime_disable(&dwc->xhci->dev);

		hcd = platform_get_drvdata(dwc->xhci);

		mdwc->in_host_mode = true;
		dwc3_gadget_usb3_phy_suspend(dwc, true);

		/* xHCI should have incremented child count as necessary */
		pm_runtime_put_sync(dwc->dev);