hdmitx: correct the threshold value of rxsense [1/1]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Wed, 4 Dec 2019 08:23:54 +0000 (16:23 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 6 Dec 2019 02:50:16 +0000 (19:50 -0700)
PD#SWPL-17841

Problem:
need correct the threshold value of rxsense

Solution:
correct the threshold value of rxsense, regress OTT-1968 to trunk

Verify:
G12/U212

Change-Id: I53f370cf51c0ad39e92fd64a0cc98cc4680eea4d
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c

index 840e4c078787c8b1dc8b3951f3bd71f1641483ec..502dce9a36e564503ac8d570928f331b493c8659 100644 (file)
@@ -5115,7 +5115,7 @@ static int hdmitx_tmds_rxsense(void)
                hd_set_reg_bits(P_HHI_HDMI_PHY_CNTL0, 1, 16, 1);
                hd_set_reg_bits(P_HHI_HDMI_PHY_CNTL3, 1, 23, 1);
                hd_set_reg_bits(P_HHI_HDMI_PHY_CNTL3, 0, 24, 1);
-               hd_set_reg_bits(P_HHI_HDMI_PHY_CNTL3, 7, 20, 3);
+               hd_set_reg_bits(P_HHI_HDMI_PHY_CNTL3, 3, 20, 3);
                ret = hd_read_reg(P_HHI_HDMI_PHY_CNTL2) & 0x1;
                break;
        case MESON_CPU_ID_GXBB: