clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks
Subsystems (3)
PATCH 1/1 clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks
The other ce clocks have the flag set, but ce1 doesn't, so clk_set_rate() doesn't propagate up the tree to the ce1_src_clk. Set the flag as this is supported.
Reported-by Bjorn Andersson <[email protected]>
Fixes 02824653200b ("clk: qcom: Add APQ8084 Global Clock Controller support")
Fixes d33faa9ead8d ("clk: qcom: Add support for MSM8974's global clock controller (GCC)")
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/qcom/gcc-apq8084.c | 1 + drivers/clk/qcom/gcc-msm8974.c | 1 + 2 files changed, 2 insertions(+)
drivers/clk/qcom/gcc-apq8084.c +1 -0
@@ -2105,6 +2105,7 @@ static struct clk_branch gcc_ce1_clk = { "ce1_clk_src", }, .num_parents = 1, + .flags = CLK_SET_RATE_PARENT, .ops = &clk_branch2_ops, }, },
drivers/clk/qcom/gcc-msm8974.c +1 -0
@@ -1783,6 +1783,7 @@ static struct clk_branch gcc_ce1_clk = { "ce1_clk_src", }, .num_parents = 1, + .flags = CLK_SET_RATE_PARENT, .ops = &clk_branch2_ops, }, },
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 9 lines · Stephen Boyd
The other ce clocks have the flag set, but ce1 doesn't, so
clk_set_rate()doesn't propagate up the tree to thece1_src_clk. Set the flag as this is supported.Reported-by Bjorn Andersson <[email protected]>Fixes 02824653200b ("clk: qcom: Add APQ8084 Global Clock Controller support")Fixes d33faa9ead8d ("clk: qcom: Add support for MSM8974's global clock controller (GCC)")Signed-off-by Stephen Boyd <[email protected]>---
Thanks, test ok on 8974.
Tested-by Bjorn Andersson <[email protected]>
Regards,
Bjorn