Skip to content

Commit

Permalink
clk: qcom: mmcc-msm8974: Fix mmss_s0_axi clock
Browse files Browse the repository at this point in the history
On boards without cont_splash the clock wouldn't get enabled.
Reparent it and strongly depend on the parent to make sure
it's accessible. Access to MMSS depends on mmss_s0_axi being
up and alive.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
  • Loading branch information
Konrad Dybcio committed Dec 21, 2020
1 parent dff6a3d commit 0946916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clk/qcom/mmcc-msm8974.c
Original file line number Diff line number Diff line change
Expand Up @@ -2101,11 +2101,11 @@ static struct clk_branch mmss_s0_axi_clk = {
.hw.init = &(struct clk_init_data){
.name = "mmss_s0_axi_clk",
.parent_names = (const char *[]){
"mmss_axi_clk_src",
"mmss_mmssnoc_axi_clk",
},
.num_parents = 1,
.ops = &clk_branch2_ops,
.flags = CLK_IGNORE_UNUSED,
.flags = CLK_IGNORE_UNUSED | CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
},
},
};
Expand Down

0 comments on commit 0946916

Please sign in to comment.