Commit 616ffbf1 authored by Andy Gross's avatar Andy Gross Committed by Sasha Levin

clk: qcom: msm8916: Fix crypto clock flags

[ Upstream commit 2a0974aa ]

This patch adds the CLK_SET_RATE_PARENT flag for the crypto core and
ahb blocks.  Without this flag, clk_set_rate can fail for certain
frequency requests.
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
Fixes: 3966fab8 ("clk: qcom: Add MSM8916 Global Clock Controller support")
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent ec2744d3
......@@ -1961,6 +1961,7 @@ static struct clk_branch gcc_crypto_ahb_clk = {
"pcnoc_bfdcd_clk_src",
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
.ops = &clk_branch2_ops,
},
},
......@@ -1996,6 +1997,7 @@ static struct clk_branch gcc_crypto_clk = {
"crypto_clk_src",
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
.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