Skip to content

Commit c8b9002

Browse files
fltobebarino
authored andcommitted
clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
0x44 isn't a register offset, it is the value that goes into CAL_L_VAL. Fixes: 548a909 ("clk: qcom: clk-alpha-pll: Add support for Trion PLLs") Signed-off-by: Jonathan Marek <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 667f39b commit c8b9002

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/clk/qcom/clk-alpha-pll.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
#define PLL_STATUS(p) ((p)->offset + (p)->regs[PLL_OFF_STATUS])
5757
#define PLL_OPMODE(p) ((p)->offset + (p)->regs[PLL_OFF_OPMODE])
5858
#define PLL_FRAC(p) ((p)->offset + (p)->regs[PLL_OFF_FRAC])
59-
#define PLL_CAL_VAL(p) ((p)->offset + (p)->regs[PLL_OFF_CAL_VAL])
6059

6160
const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = {
6261
[CLK_ALPHA_PLL_TYPE_DEFAULT] = {
@@ -115,7 +114,6 @@ const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = {
115114
[PLL_OFF_STATUS] = 0x30,
116115
[PLL_OFF_OPMODE] = 0x38,
117116
[PLL_OFF_ALPHA_VAL] = 0x40,
118-
[PLL_OFF_CAL_VAL] = 0x44,
119117
},
120118
[CLK_ALPHA_PLL_TYPE_LUCID] = {
121119
[PLL_OFF_L_VAL] = 0x04,

0 commit comments

Comments
 (0)