clk: qcom: Fix MSM8916 prng clock enable bit
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 25 Aug 2015 12:27:43 +0000 (15:27 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 25 Aug 2015 18:29:21 +0000 (11:29 -0700)
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>
drivers/clk/qcom/gcc-msm8916.c

index 3bf4fb3deef6ab277c3c3f20cf3ee90ca767dea5..22a4e1e732c0a3cddc38bb20f1beeb97052ce733 100644 (file)
@@ -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 *[]){