clk: gcc-msm8996: Fix pcie 2 pipe register offset
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 25 Aug 2016 11:20:46 +0000 (12:20 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 25 Aug 2016 20:02:20 +0000 (13:02 -0700)
This patch corrects the register offset for pcie2 pipe clock.
Offset according to datasheet is 0x6e018 instead of 0x6e108.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fixes: b1e010c0730a ("clk: qcom: Add MSM8996 Global Clock Control (GCC) driver")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-msm8996.c

index 3afe42c9d61172b11ea47bfe3424530e4e680c52..2c367711feeba5be57b4e1004f5b150bad19c3c0 100644 (file)
@@ -2592,9 +2592,9 @@ static struct clk_branch gcc_pcie_2_aux_clk = {
 };
 
 static struct clk_branch gcc_pcie_2_pipe_clk = {
-       .halt_reg = 0x6e108,
+       .halt_reg = 0x6e018,
        .clkr = {
-               .enable_reg = 0x6e108,
+               .enable_reg = 0x6e018,
                .enable_mask = BIT(0),
                .hw.init = &(struct clk_init_data){
                        .name = "gcc_pcie_2_pipe_clk",