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

Commit e716ba7e authored by Abhijit Kulkarni's avatar Abhijit Kulkarni
Browse files

clk: qcom: mdss: fix issue with gdsc vote



This change ensures that vote to turn on/off mdss gdsc is
balanced, so that gdsc can turn off in idle use cases.

Change-Id: I732d634b71013116773c87e3fb70e70c99dc3b13
Signed-off-by: default avatarAbhijit Kulkarni <kabhijit@codeaurora.org>
parent 97013cb4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1149,9 +1149,8 @@ static unsigned long vco_7nm_recalc_rate(struct clk_hw *hw,
	pr_debug("dec=0x%x, frac=0x%x, outdiv=%d, vco=%llu\n",
		 dec, frac, outdiv, vco_rate);

	(void)mdss_pll_resource_enable(pll, false);

end:
	(void)mdss_pll_resource_enable(pll, false);
	return (unsigned long)vco_rate;
}