summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Piper <cpiper@codeaurora.org>2015-08-14 17:37:57 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:43:03 -0700
commit58484425278bbddda3c7d7aaf46258d447794fcb (patch)
treeb1335c445fc04990e96f8d6b25331032a2bbdd2c
parent5d2eca04c7583a91c830a3308a7fec81ed906f0a (diff)
clk: msm: mdss: Increase polling timer before SW calibration
Before completing SW calibration of HDMI PLL on msm8996 v2, poll C READY register for an increased period to ensure that we do not mistakenly perform software calibration when it is not needed. Change-Id: I7ec25665700ecf20b9fe2337eb01015b1e156b9b Signed-off-by: Casey Piper <cpiper@codeaurora.org>
-rw-r--r--drivers/clk/msm/mdss/mdss-hdmi-pll-8996.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/msm/mdss/mdss-hdmi-pll-8996.c b/drivers/clk/msm/mdss/mdss-hdmi-pll-8996.c
index adb6b86fa142..ebbb3d8d8fb6 100644
--- a/drivers/clk/msm/mdss/mdss-hdmi-pll-8996.c
+++ b/drivers/clk/msm/mdss/mdss-hdmi-pll-8996.c
@@ -2034,7 +2034,7 @@ static int hdmi_8996_v2_perform_sw_calibration(struct clk *c)
(io->pll_base + QSERDES_COM_C_READY_STATUS),
ready_poll, ((ready_poll & BIT(0)) == 1),
HDMI_PLL_POLL_MAX_READS,
- HDMI_PLL_POLL_TIMEOUT_US)) {
+ HDMI_PLL_POLL_TIMEOUT_US << 1)) {
DEV_DBG("%s: C READY\n", __func__);
ready_poll = 1;
} else {