Skip to content

Commit 7f54bf2

Browse files
fltobebarino
authored andcommitted
clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
Caught this when looking at alpha-pll code. Untested but it is clear that this was intended to write to PLL_CAL_L_VAL and not PLL_ALPHA_VAL. Fixes: 691865b ("clk: qcom: clk-alpha-pll: Add support for Fabia PLL calibration") Signed-off-by: Jonathan Marek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 5d66ca7 commit 7f54bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ static int alpha_pll_fabia_prepare(struct clk_hw *hw)
12551255
return ret;
12561256

12571257
/* Setup PLL for calibration frequency */
1258-
regmap_write(pll->clkr.regmap, PLL_ALPHA_VAL(pll), cal_l);
1258+
regmap_write(pll->clkr.regmap, PLL_CAL_L_VAL(pll), cal_l);
12591259

12601260
/* Bringup the PLL at calibration frequency */
12611261
ret = clk_alpha_pll_enable(hw);

0 commit comments

Comments
 (0)