From ec9dee73d657d3d2cc719c6500209b91c28f4ecb Mon Sep 17 00:00:00 2001 From: Zongdong Jiao Date: Tue, 24 Sep 2019 21:42:35 +0800 Subject: [PATCH] hdmitx: reduce the delay time of plugout [1/1] 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 --- drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c index bdc85a1a39e7..4d5f060f9893 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c @@ -696,7 +696,7 @@ static irqreturn_t intr_handler(int irq, void *dev) hdev->hdmitx_event &= ~HDMI_TX_HPD_PLUGIN; hdev->rhpd_state = 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)) {