summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/gcc-msm8916.c
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2015-08-25 14:27:43 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-08-25 20:29:21 +0200
commit1c4b4b0eb1909010b8ebda1ef208bf3ed62e7487 (patch)
tree706654b934b9b94e4a3ab22d17acc0e11d724b75 /drivers/clk/qcom/gcc-msm8916.c
parentclk: Add missing header for 'bool' definition to clk-conf.h (diff)
downloadlinux-1c4b4b0eb1909010b8ebda1ef208bf3ed62e7487.tar.xz
linux-1c4b4b0eb1909010b8ebda1ef208bf3ed62e7487.zip
clk: qcom: Fix MSM8916 prng clock enable bit
Fix the enable bit of the pseudorandom number generator clock. Reported-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Fixes: 3966fab8b6ab "clk: qcom: Add MSM8916 Global Clock Controller support" Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> 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, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 3bf4fb3deef6..22a4e1e732c0 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -2278,7 +2278,7 @@ static struct clk_branch gcc_prng_ahb_clk = {
.halt_check = BRANCH_HALT_VOTED,
.clkr = {
.enable_reg = 0x45004,
- .enable_mask = BIT(0),
+ .enable_mask = BIT(8),
.hw.init = &(struct clk_init_data){
.name = "gcc_prng_ahb_clk",
.parent_names = (const char *[]){