clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
authorDavid Wronek <davidwronek@gmail.com>
Sun, 23 Jul 2023 19:05:02 +0000 (21:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 31 Jul 2023 23:28:59 +0000 (16:28 -0700)
Set .flags = CLK_OPS_PARENT_ENABLE to fix "gcc_sdcc2_apps_clk_src: rcg
didn't update its configuration" error.

Fixes: 17269568f726 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180")
Signed-off-by: David Wronek <davidwronek@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230723190725.1619193-2-davidwronek@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-sc7180.c

index cef3c77..49f36e1 100644 (file)
@@ -651,6 +651,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
                .name = "gcc_sdcc2_apps_clk_src",
                .parent_data = gcc_parent_data_5,
                .num_parents = ARRAY_SIZE(gcc_parent_data_5),
+               .flags = CLK_OPS_PARENT_ENABLE,
                .ops = &clk_rcg2_floor_ops,
        },
 };