Commit 0ad5ac41 authored by Stephen Boyd's avatar Stephen Boyd Committed by Kamal Mostafa

clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks

commit d7a304e9 upstream.

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: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Tested-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Fixes: 02824653 ("clk: qcom: Add APQ8084 Global Clock Controller support")
Fixes: d33faa9e ("clk: qcom: Add support for MSM8974's global clock controller (GCC)")
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent ad55506d
...@@ -2103,6 +2103,7 @@ static struct clk_branch gcc_ce1_clk = { ...@@ -2103,6 +2103,7 @@ static struct clk_branch gcc_ce1_clk = {
"ce1_clk_src", "ce1_clk_src",
}, },
.num_parents = 1, .num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
.ops = &clk_branch2_ops, .ops = &clk_branch2_ops,
}, },
}, },
......
...@@ -1781,6 +1781,7 @@ static struct clk_branch gcc_ce1_clk = { ...@@ -1781,6 +1781,7 @@ static struct clk_branch gcc_ce1_clk = {
"ce1_clk_src", "ce1_clk_src",
}, },
.num_parents = 1, .num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
.ops = &clk_branch2_ops, .ops = &clk_branch2_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