hdmitx: remove unnecessary rxsense check [1/1]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Thu, 11 Jul 2019 06:30:38 +0000 (14:30 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 11 Jul 2019 11:35:44 +0000 (04:35 -0700)
PD#IPTV-3767

Problem:
When plugin, this check may block EDID reading

Solution:
Remove unnecessary rxsense check

Verify:
G12/P261

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

index 20c2f6e..54ea409 100644 (file)
@@ -4020,8 +4020,6 @@ static void hdmitx_hpd_plugin_handler(struct work_struct *work)
        if (hdev->rxsense_policy) {
                cancel_delayed_work(&hdev->work_rxsense);
                queue_delayed_work(hdev->rxsense_wq, &hdev->work_rxsense, 0);
-               while (!(hdmitx_extcon_rxsense->state))
-                       msleep_interruptible(1000);
        }
        mutex_lock(&setclk_mutex);
        pr_info(SYS "plugin\n");