author | Hang Cheng <hang.cheng@amlogic.com> | 2020-02-26 04:16:33 (GMT) |
---|---|---|
committer | Shen Liu <shen.liu@amlogic.com> | 2020-04-17 02:09:42 (GMT) |
commit | 2bf1df4cad404488487a536a1466c63d375f342c (patch) | |
tree | 1595fb4109c4e632efbe860138ffa09b735f31e1 | |
parent | 6a8265e7b7c960ec841cfccd9ffc5fa4c641737b (diff) | |
download | common-2bf1df4cad404488487a536a1466c63d375f342c.zip common-2bf1df4cad404488487a536a1466c63d375f342c.tar.gz common-2bf1df4cad404488487a536a1466c63d375f342c.tar.bz2 |
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 <hang.cheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
-rw-r--r-- | drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 298788d..342cc1e 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 @@ -657,7 +657,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, 0); } /* internal interrupt */ if (dat_top & (1 << 0)) { |