Skip to contentSkip to conversation

clk: qcom: gpu_cc_gmu_clk_src has 5 parents, not 6

PATCH Applied Douglas Anderson 2 participants 2 messages Nov 28, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: qcom: gpu_cc_gmu_clk_src has 5 parents, not 6

In an earlier version of commit 453361cdd757 ("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 453361cdd757 ("clk: qcom: Add graphics clock controller driver for SDM845")

---

 drivers/clk/qcom/gpucc-sdm845.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/qcom/gpucc-sdm845.c +1 -1
index 80898cea259a..e40efba1bf7d 100644
@@ -85,7 +85,7 @@ static struct clk_rcg2 gpu_cc_gmu_clk_src = {
 	.clkr.hw.init = &(struct clk_init_data){
 		.name = "gpu_cc_gmu_clk_src",
 		.parent_names = gpu_cc_parent_names_0,
-		.num_parents = 6,
+		.num_parents = 5,
 		.ops = &clk_rcg2_shared_ops,
 	},
 };
Signature · 1 line
2.20.0.rc0.387.gc7a69e6b6c-goog
maintainer Applied
#1 lore raw

Quoting Douglas Anderson (2018-11-28 10:48:59)

Quoted 9 lines

In an earlier version of commit 453361cdd757 ("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 453361cdd757 ("clk: qcom: Add graphics clock controller driver for SDM845")

---

Applied to clk-next