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

Commit f0431c7b authored by Ritesh Kumar's avatar Ritesh Kumar Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: mdss: Fix the clk get rate check in dsi pll



Updates the clk get rate check in dsi pll. This fixes
display clock voting for SVS instead of LSVS issue.

Change-Id: Ibdedd8f476d7a38858d18d233517699b61cf76f1
Signed-off-by: default avatarRitesh Kumar <riteshk@codeaurora.org>
parent 1ee5220d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1171,7 +1171,7 @@ static int vco_10nm_prepare(struct clk_hw *hw)
	}

	if ((pll->vco_cached_rate != 0) &&
	    (pll->vco_cached_rate == clk_get_rate(hw->clk))) {
	    (pll->vco_cached_rate == clk_hw_get_rate(hw))) {
		rc = hw->init->ops->set_rate(hw, pll->vco_cached_rate,
				pll->vco_cached_rate);
		if (rc) {