summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/gcc-msm8916.c
diff options
context:
space:
mode:
authorAndy Gross <andy.gross@linaro.org>2016-05-03 23:24:11 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-05-06 21:04:26 +0300
commit2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c (patch)
treea9c4b9863fa3d17e918bbbfc6468174ab94a4c43 /drivers/clk/qcom/gcc-msm8916.c
parent3cdaeb7d8bd872926cbc0d194a0386e07ce3facb (diff)
downloadlinux-2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c.tar.xz
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/qcom/gcc-msm8916.c')
-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,
},
},