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

Commit 8da168a6 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa Committed by Narendra Muppalla
Browse files

clk: qcom: mdss: set the hdmi vco clock rate



Set the VCO rate properly during handoff. This VCO rate can be
used during suspend-resume to reconfigure the PLL.

Change-Id: Ib67d68f28aa5bd3a09bf7bcc5802ee3b7af342ee
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 7e49a5a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2365,6 +2365,7 @@ static enum handoff hdmi_8996_vco_handoff(struct clk *c)
		if (MDSS_PLL_REG_R(io->phy_base, HDMI_PHY_STATUS) & BIT(0)) {
			io->pll_on = true;
			c->rate = hdmi_8996_vco_get_rate(c);
			vco->rate = c->rate;
			ret = HANDOFF_ENABLED_CLK;
		} else {
			io->handoff_resources = false;