hdmitx: reduce the delay time of plugout [1/1]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Tue, 24 Sep 2019 13:42:35 +0000 (21:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sun, 29 Sep 2019 10:55:09 +0000 (03:55 -0700)
PD#OTT-6369

Problem:
The HPD low time of some Monitor(such as LG) is about 30ms, less than 100ms

Solution:
Reduce the delay time of plugout

Verify:
G12A/U212

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

index 219bcf3..e970264 100644 (file)
@@ -704,7 +704,7 @@ static irqreturn_t intr_handler(int irq, void *dev)
                hdev->rhpd_state = 0;
                earc_hdmitx_hpdst(0);
                queue_delayed_work(hdev->hdmi_wq,
-                       &hdev->work_hpd_plugout, HZ / 20);
+                       &hdev->work_hpd_plugout, HZ / 50);
        }
        /* internal interrupt */
        if (dat_top & (1 << 0)) {