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 <jonathan@marek.ca> Link: https://lore.kernel.org/r/20210609022852.4151-1-jonathan@marek.ca Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 5d66ca7 commit 7f54bf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)