clk: qcom: msm8916: Fix crypto clock flags
authorAndy Gross <andy.gross@linaro.org>
Tue, 3 May 2016 20:24:11 +0000 (15:24 -0500)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 6 May 2016 18:04:26 +0000 (11:04 -0700)
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>
drivers/clk/qcom/gcc-msm8916.c

index 9c29080a84d8345781214a45af9e3ba08c4c02cb..5c4e193164d4d7b9d3ec729ef724b2b1293e560d 100644 (file)
@@ -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,
                },
        },
This page took 0.055984 seconds and 5 git commands to generate.