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: Saurabh Sahu <sausah@codeaurora.org>
This commit is contained in:
Saurabh Sahu 2020-10-01 17:18:28 +05:30
commit 75d08e0bf4

View file

@ -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"))