Skip to content

Commit 7138c24

Browse files
JIaxygaandersson
authored andcommitted
clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
Set .flags = CLK_OPS_PARENT_ENABLE to fix "gcc_sdcc2_apps_clk_src: rcg didn't update its configuration" error. Fixes: 2a1d7eb ("clk: qcom: gcc: Add global clock controller driver for SM8150") Tested-by: Arseniy Velikanov <[email protected]> Signed-off-by: Danila Tikhonov <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 2643f0b commit 7138c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gcc-sm8150.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
774774
.name = "gcc_sdcc2_apps_clk_src",
775775
.parent_data = gcc_parents_6,
776776
.num_parents = ARRAY_SIZE(gcc_parents_6),
777-
.flags = CLK_SET_RATE_PARENT,
777+
.flags = CLK_OPS_PARENT_ENABLE,
778778
.ops = &clk_rcg2_floor_ops,
779779
},
780780
};

0 commit comments

Comments
 (0)