]> Git Repo - linux.git/commitdiff
clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
authorDmitry Baryshkov <[email protected]>
Sun, 4 Aug 2024 05:40:05 +0000 (08:40 +0300)
committerBjorn Andersson <[email protected]>
Thu, 15 Aug 2024 22:10:13 +0000 (17:10 -0500)
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: 80a18f4a8567 ("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]>
drivers/clk/qcom/dispcc-sm8250.c

index 5a09009b72891b5afd5e4d971041e6346e81cd5d..eb78cd5439d047c9e55546c2701bef2f04d21c84 100644 (file)
@@ -849,6 +849,7 @@ static struct clk_branch disp_cc_mdss_dp_link1_intf_clk = {
                                &disp_cc_mdss_dp_link1_div_clk_src.clkr.hw,
                        },
                        .num_parents = 1,
+                       .flags = CLK_SET_RATE_PARENT,
                        .ops = &clk_branch2_ops,
                },
        },
@@ -884,6 +885,7 @@ static struct clk_branch disp_cc_mdss_dp_link_intf_clk = {
                                &disp_cc_mdss_dp_link_div_clk_src.clkr.hw,
                        },
                        .num_parents = 1,
+                       .flags = CLK_SET_RATE_PARENT,
                        .ops = &clk_branch2_ops,
                },
        },
@@ -1009,6 +1011,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut_clk = {
                                &disp_cc_mdss_mdp_clk_src.clkr.hw,
                        },
                        .num_parents = 1,
+                       .flags = CLK_SET_RATE_PARENT,
                        .ops = &clk_branch2_ops,
                },
        },
This page took 0.061317 seconds and 4 git commands to generate.