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

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

Merge "usb: gadget: hsic: Disable usb_hsic_xcvr_clk when entering low power mode"

parents be601d08 8026f33a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -388,6 +388,7 @@ static int msm_hsic_suspend(struct msm_hsic_per *mhsic)
	}
	clk_disable_unprepare(mhsic->phy_clk);
	clk_disable_unprepare(mhsic->cal_clk);
	clk_disable_unprepare(mhsic->alt_core_clk);

	ret = msm_xo_mode_vote(mhsic->xo_handle, MSM_XO_MODE_OFF);
	if (ret)
@@ -445,6 +446,7 @@ static int msm_hsic_resume(struct msm_hsic_per *mhsic)
	}
	clk_prepare_enable(mhsic->phy_clk);
	clk_prepare_enable(mhsic->cal_clk);
	clk_prepare_enable(mhsic->alt_core_clk);

	temp = readl_relaxed(USB_USBCMD);
	temp &= ~ASYNC_INTR_CTRL;