* [PATCH] clk: qcom: msm8916: Fix crypto clock flags
@ 2016-05-03 20:24 Andy Gross
2016-05-06 18:04 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Andy Gross @ 2016-05-03 20:24 UTC (permalink / raw)
To: linux-clk; +Cc: Stephen Boyd, Michael Turquette, linux-arm-msm, Andy Gross
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: Andy Gross <andy.gross@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 9c29080..5c4e193 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -2346,6 +2346,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,
},
},
@@ -2381,6 +2382,7 @@ static struct clk_branch gcc_crypto_clk = {
"crypto_clk_src",
},
.num_parents = 1,
+ .flags = CLK_SET_RATE_PARENT,
.ops = &clk_branch2_ops,
},
},
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: qcom: msm8916: Fix crypto clock flags
2016-05-03 20:24 [PATCH] clk: qcom: msm8916: Fix crypto clock flags Andy Gross
@ 2016-05-06 18:04 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2016-05-06 18:04 UTC (permalink / raw)
To: Andy Gross; +Cc: linux-clk, Michael Turquette, linux-arm-msm
On 05/03, Andy Gross wrote:
> 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: Andy Gross <andy.gross@linaro.org>
> ---
Applied to clk-next + added Fixes tag.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-06 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-03 20:24 [PATCH] clk: qcom: msm8916: Fix crypto clock flags Andy Gross
2016-05-06 18:04 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).