]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src
authorDavid Heidelberg <david@ixit.cz>
Sat, 17 Jan 2026 18:18:28 +0000 (19:18 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 Jan 2026 19:45:05 +0000 (13:45 -0600)
Set CLK_OPS_PARENT_ENABLE to ensure the parent gets prepared and enabled
when switching to it.

Fixes: e3c13e0caa8c ("clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk0_clk_src")
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20260117-sm7150-dispcc-fix-v1-1-2f39966bcad2@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/dispcc-sm7150.c

index 811d380a8e9f9bd8a8f1aecba567ebffdb893f5d..ed8e34ffd69b050720b66879e83188a8e7c32d1e 100644 (file)
@@ -371,7 +371,7 @@ static struct clk_rcg2 dispcc_mdss_pclk1_clk_src = {
                .name = "dispcc_mdss_pclk1_clk_src",
                .parent_data = dispcc_parent_data_4,
                .num_parents = ARRAY_SIZE(dispcc_parent_data_4),
-               .flags = CLK_SET_RATE_PARENT,
+               .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
                .ops = &clk_pixel_ops,
        },
 };