summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/clk-hfpll.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/qcom/clk-hfpll.c')
-rw-r--r--drivers/clk/qcom/clk-hfpll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-hfpll.c b/drivers/clk/qcom/clk-hfpll.c
index 86f728dc69..705352aff0 100644
--- a/drivers/clk/qcom/clk-hfpll.c
+++ b/drivers/clk/qcom/clk-hfpll.c
@@ -44,6 +44,10 @@ static void __clk_hfpll_init_once(struct clk_hw *hw)
regmap_write(regmap, hd->user_reg, regval);
}
+ /* Write L_VAL from conf if it exist */
+ if (hd->l_val)
+ regmap_write(regmap, hd->l_reg, hd->l_val);
+
if (hd->droop_reg)
regmap_write(regmap, hd->droop_reg, hd->droop_val);