Skip to content

Commit 8fd492e

Browse files
lumagandersson
authored andcommitted
clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
The mdp_clk_src clock should not be turned off. Instead it should be 'parked' to the XO, as most of other mdp_clk_src clocks. Fix that by using the clk_rcg2_shared_ops. Fixes: d8b2120 ("clk: qcom: Add support for MSM8974's multimedia clock controller (MMCC)") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Tested-by: Luca Weiss <luca@z3ntu.xyz> Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230507175335.2321503-1-dmitry.baryshkov@linaro.org
1 parent 7510e80 commit 8fd492e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/qcom/mmcc-msm8974.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static struct clk_rcg2 mdp_clk_src = {
485485
.name = "mdp_clk_src",
486486
.parent_data = mmcc_xo_mmpll0_dsi_hdmi_gpll0,
487487
.num_parents = ARRAY_SIZE(mmcc_xo_mmpll0_dsi_hdmi_gpll0),
488-
.ops = &clk_rcg2_ops,
488+
.ops = &clk_rcg2_shared_ops,
489489
},
490490
};
491491

0 commit comments

Comments
 (0)