clk: qcom: msm8960: Fix ce3_src register offset
Subsystems (3)
PATCH 1/1 clk: qcom: msm8960: Fix ce3_src register offset
The offset seems to have been copied from the sata clk. Fix it so that enabling the crypto engine source clk works.
Cc Srinivas Kandagatla <[email protected]>
Tested-by Bjorn Andersson <[email protected]>
Fixes 5f775498bdc4 ("clk: qcom: Fully support apq8064 global clock control")
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/qcom/gcc-msm8960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/qcom/gcc-msm8960.c +1 -1
@@ -2753,7 +2753,7 @@ static struct clk_rcg ce3_src = { }, .freq_tbl = clk_tbl_ce3, .clkr = { - .enable_reg = 0x2c08, + .enable_reg = 0x36c0, .enable_mask = BIT(7), .hw.init = &(struct clk_init_data){ .name = "ce3_src",
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 8 lines · Stephen Boyd
The offset seems to have been copied from the sata clk. Fix it so that enabling the crypto engine source clk works.
Cc Srinivas Kandagatla <[email protected]>Tested-by Bjorn Andersson <[email protected]>Fixes 5f775498bdc4 ("clk: qcom: Fully support apq8064 global clock control")Signed-off-by Stephen Boyd <[email protected]>---
Good find :-)
Tested-by Srinivas Kandagatla <[email protected]>
Quoted 17 lines
drivers/clk/qcom/gcc-msm8960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/qcom/gcc-msm8960.c +1
-1@@ -2753,7 +2753,7 @@ static struct clk_rcg ce3_src = { }, .freq_tbl = clk_tbl_ce3, .clkr = { - .enable_reg = 0x2c08, + .enable_reg = 0x36c0, .enable_mask = BIT(7), .hw.init = &(struct clk_init_data){ .name = "ce3_src",