Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e76e752 authored by Casey Piper's avatar Casey Piper Committed by Narendra Muppalla
Browse files

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: default avatarCasey Piper <cpiper@codeaurora.org>
parent 8fff6e38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2035,7 +2035,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 {