From: Zongdong Jiao Date: Thu, 11 Jul 2019 06:30:38 +0000 (+0800) Subject: hdmitx: remove unnecessary rxsense check [1/1] X-Git-Tag: hardkernel-4.9.236-104~958 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e30b211aa22893f2c0ea4e273f33809313459c3;p=platform%2Fkernel%2Flinux-amlogic.git hdmitx: remove unnecessary rxsense check [1/1] 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 --- diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c index 20c2f6e..54ea409 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c @@ -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");