Commit 74c31ff9 authored by Douglas Anderson's avatar Douglas Anderson Committed by Stephen Boyd

clk: qcom: gpu_cc_gmu_clk_src has 5 parents, not 6

In an earlier version of commit 453361cd ("clk: qcom: Add graphics
clock controller driver for SDM845") there were 6 listed parents for
"gpu_cc_gmu_clk_src".  In the version that landed there were 5.
...but "num_parents" was still left at 6.  On my system this goes boom
at bootup.

Fixes: 453361cd ("clk: qcom: Add graphics clock controller driver for SDM845")
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 85a3d920
...@@ -85,7 +85,7 @@ static struct clk_rcg2 gpu_cc_gmu_clk_src = { ...@@ -85,7 +85,7 @@ static struct clk_rcg2 gpu_cc_gmu_clk_src = {
.clkr.hw.init = &(struct clk_init_data){ .clkr.hw.init = &(struct clk_init_data){
.name = "gpu_cc_gmu_clk_src", .name = "gpu_cc_gmu_clk_src",
.parent_names = gpu_cc_parent_names_0, .parent_names = gpu_cc_parent_names_0,
.num_parents = 6, .num_parents = 5,
.ops = &clk_rcg2_shared_ops, .ops = &clk_rcg2_shared_ops,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment