summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorAndy Gross <andy.gross@linaro.org>2016-05-03 22:24:11 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-05-06 20:04:26 +0200
commit2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c (patch)
treea9c4b9863fa3d17e918bbbfc6468174ab94a4c43 /drivers/clk
parentMerge tag 'imx-clk-4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/sh... (diff)
downloadlinux-2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c.tar.xz
linux-2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c.zip
clk: qcom: msm8916: Fix crypto clock flags
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> Fixes: 3966fab8b6ab ("clk: qcom: Add MSM8916 Global Clock Controller support") Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/qcom/gcc-msm8916.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 9c29080a84d8..5c4e193164d4 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,
},
},