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

Commit 75d08e0b authored by Saurabh Sahu's avatar Saurabh Sahu
Browse files

clk: qcom: smd-rpm: Change the clock voting sequence for holi



Update the prepare and set rate sequence for snoc_a and
cnoc_a clk for rate to get updated. The sequence will be
first clk_prepare_enable and the clk_set_rate for rate to
update.

Change-Id: Ibc2081e742a3b760c2440aa1987a915001f21b74
Signed-off-by: default avatarSaurabh Sahu <sausah@codeaurora.org>
parent 6a91a7d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1003,12 +1003,12 @@ static int rpm_smd_clk_probe(struct platform_device *pdev)
		clk_prepare_enable(holi_bi_tcxo_ao.hw.clk);

		/* Hold an active set vote for the cnoc_keepalive_a_clk */
		clk_set_rate(holi_cnoc_a_clk.hw.clk, 19200000);
		clk_prepare_enable(holi_cnoc_a_clk.hw.clk);
		clk_set_rate(holi_cnoc_a_clk.hw.clk, 19200000);

		/* Hold an active set vote for the snoc_keepalive_a_clk */
		clk_set_rate(holi_snoc_a_clk.hw.clk, 19200000);
		clk_prepare_enable(holi_snoc_a_clk.hw.clk);
		clk_set_rate(holi_snoc_a_clk.hw.clk, 19200000);
	}

	if (of_property_read_bool(pdev->dev.of_node, "qcom,bimc-log-stop"))