Skip to content

Commit 0e93c63

Browse files
lumagandersson
authored andcommitted
clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
Add CLK_SET_RATE_PARENT for several branch clocks. Such clocks don't have a way to change the rate, so set the parent rate instead. Fixes: 80a18f4 ("clk: qcom: Add display clock controller driver for SM8150 and SM8250") Cc: [email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 92d04de commit 0e93c63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/clk/qcom/dispcc-sm8250.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ static struct clk_branch disp_cc_mdss_dp_link1_intf_clk = {
849849
&disp_cc_mdss_dp_link1_div_clk_src.clkr.hw,
850850
},
851851
.num_parents = 1,
852+
.flags = CLK_SET_RATE_PARENT,
852853
.ops = &clk_branch2_ops,
853854
},
854855
},
@@ -884,6 +885,7 @@ static struct clk_branch disp_cc_mdss_dp_link_intf_clk = {
884885
&disp_cc_mdss_dp_link_div_clk_src.clkr.hw,
885886
},
886887
.num_parents = 1,
888+
.flags = CLK_SET_RATE_PARENT,
887889
.ops = &clk_branch2_ops,
888890
},
889891
},
@@ -1009,6 +1011,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut_clk = {
10091011
&disp_cc_mdss_mdp_clk_src.clkr.hw,
10101012
},
10111013
.num_parents = 1,
1014+
.flags = CLK_SET_RATE_PARENT,
10121015
.ops = &clk_branch2_ops,
10131016
},
10141017
},

0 commit comments

Comments
 (0)