From: Zheng Yang Date: Mon, 29 Sep 2014 10:47:14 +0000 (+0800) Subject: hdmi: remove read edid when hpd is actived. X-Git-Tag: firefly_0821_release~4622 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c81d68252b398636c5c04a1ec110ae4621af482e;p=firefly-linux-kernel-4.4.55.git hdmi: remove read edid when hpd is actived. --- diff --git a/drivers/video/rockchip/hdmi/rk_hdmi_task.c b/drivers/video/rockchip/hdmi/rk_hdmi_task.c index 49ca854ef940..dcb4edf0906c 100755 --- a/drivers/video/rockchip/hdmi/rk_hdmi_task.c +++ b/drivers/video/rockchip/hdmi/rk_hdmi_task.c @@ -220,11 +220,8 @@ void hdmi_work(struct work_struct *work) hdmi->hotplug = hotplug; } else if (hotplug == HDMI_HPD_REMOVED) { hdmi_sys_sleep(hdmi); - } else if (hotplug == HDMI_HPD_ACTIVED) { - if (hdmi->insert) - hdmi->insert(hdmi); - hdmi->state = READ_PARSE_EDID; } + do { hdmi_sys_show_state(hdmi); state_last = hdmi->state;