From cb2a73acbf970e66589aa8e5e0d5a83e055b7a22 Mon Sep 17 00:00:00 2001 From: Hang Cheng Date: Wed, 26 Feb 2020 12:16:33 +0800 Subject: [PATCH] hdmitx: don't ignore hotplug out event [1/1] PD#SWPL-21288 Problem: if there's a short hpd low pulse(eg 10ms, plugout->plugin event), the plugout event will be ignored in driver, and the subsequent plugin event can't be handled by systemcontrol because systemcontrol can't get the later plugin uevent when successive plugin uevent come. But hdcp is disabled in driver, video will be mute after systemcontrol detect hdcp auth status fail. Solution: don't ignore any hpd low pluse Verify: G12 Change-Id: I9b6a43c1f5cab5649b6dc011543f44601e96d4cb Signed-off-by: Hang Cheng --- 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 651c77ccf808..89b89f8dc7eb 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 @@ -763,7 +763,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 / 50); + &hdev->work_hpd_plugout, 0); } /* internal interrupt */ if (dat_top & (1 << 0)) {