summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2018-11-28 10:48:59 -0800
committerStephen Boyd <sboyd@kernel.org>2018-11-28 13:24:45 -0800
commit74c31ff9c84a9eb55df34b4bba1870fe1cdcf678 (patch)
tree23decb315de048c4eefb2ee0919aebc1933ca65f
parent85a3d920d30a5460522d180205a61aee53687d07 (diff)
downloadlinux-stable-74c31ff9c84a9eb55df34b4bba1870fe1cdcf678.tar.gz
linux-stable-74c31ff9c84a9eb55df34b4bba1870fe1cdcf678.tar.bz2
linux-stable-74c31ff9c84a9eb55df34b4bba1870fe1cdcf678.zip
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") Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/qcom/gpucc-sdm845.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gpucc-sdm845.c b/drivers/clk/qcom/gpucc-sdm845.c
index 80898cea259a..e40efba1bf7d 100644
--- a/drivers/clk/qcom/gpucc-sdm845.c
+++ b/drivers/clk/qcom/gpucc-sdm845.c
@@ -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,
},
};