projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa55b7d
)
clk: qcom: clk-alpha-pll: Increase PLL lock detect poll time
author
Taniya Das
<tdas@codeaurora.org>
Mon, 20 Dec 2021 16:43:54 +0000
(22:13 +0530)
committer
Stephen Boyd
<sboyd@kernel.org>
Thu, 6 Jan 2022 00:04:05 +0000
(16:04 -0800)
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>
drivers/clk/qcom/clk-alpha-pll.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/clk-alpha-pll.c
b/drivers/clk/qcom/clk-alpha-pll.c
index eaedcceb766f91e9ba9ad5d61b23088f15cacaf5..7cf6cfac65663fee58763ef585ac0cbc669b9df5 100644
(file)
--- 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 =
1
00; count > 0; count--) {
+ for (count =
2
00; count > 0; count--) {
ret = regmap_read(pll->clkr.regmap, PLL_MODE(pll), &val);
if (ret)
return ret;