aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaniya Das <[email protected]>2021-12-20 22:13:54 +0530
committerStephen Boyd <[email protected]>2022-01-05 16:04:05 -0800
commita5273ed2fed221317203c120670fc9a09488be3b (patch)
tree6b2db4317d8573ecc340bec6934511019437e507
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/qcom/clk-alpha-pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/qcom/clk-alpha-pll.c
index eaedcceb766f..7cf6cfac6566 100644
--- a/drivers/clk/qcom/clk-alpha-pll.c
+++ b/drivers/clk/qcom/clk-alpha-pll.c
@@ -204,7 +204,7 @@ static int wait_for_pll(struct clk_alpha_pll *pll, u32 mask, bool inverse,
if (ret)
return ret;
- for (count = 100; count > 0; count--) {
+ for (count = 200; count > 0; count--) {
ret = regmap_read(pll->clkr.regmap, PLL_MODE(pll), &val);
if (ret)
return ret;