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

Commit c4273f6c authored by Anant Goel's avatar Anant Goel Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: pil: Disable a clock to maintain clock state across modem SSR



A disable and unprepare is called on a clock which is voted for, but never
unvoted for. By disabling and unpreparing this clock, the clock state is
maintained the same across modem restarts.

Change-Id: I4d6cb219ac718de4b7bad593d7f7aa9fd67b1cef
Signed-off-by: default avatarAnant Goel <anantg@codeaurora.org>
parent a829ffa6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -331,6 +331,9 @@ int pil_mss_shutdown(struct pil_desc *pil)
		drv->is_booted = false;
	}

	if (drv->mx_spike_wa && drv->ahb_clk_vote)
		clk_disable_unprepare(drv->ahb_clk);

	return ret;
}