Skip to content

Commit a5273ed

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: clk-alpha-pll: Increase PLL lock detect poll time
PLL poll for lock detection can take more than 100us for certain type of Lucid PLLs and also the new PLLs types(Lucid EVO), thus update to 200us. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lore.kernel.org/r/1640018638-19436-2-git-send-email-tdas@codeaurora.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent fa55b7d commit a5273ed

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
@@ -204,7 +204,7 @@ static int wait_for_pll(struct clk_alpha_pll *pll, u32 mask, bool inverse,
204204
if (ret)
205205
return ret;
206206

207-
for (count = 100; count > 0; count--) {
207+
for (count = 200; count > 0; count--) {
208208
ret = regmap_read(pll->clkr.regmap, PLL_MODE(pll), &val);
209209
if (ret)
210210
return ret;

0 commit comments

Comments
 (0)