From a5cf121dababe6f6c7481e64b839894dfaa26035 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 25 Dec 2013 19:09:04 +0800 Subject: ENGR00293329 Audio will block when HDMI-DVI interface plugged Don't send hdmi_audio uevent when HDMI-DVI connected. Signed-off-by: Shengjiu Wang --- drivers/video/mxc_hdmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 469b1e8db487..2a1b3a11fb2b 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -2032,7 +2032,8 @@ static void hotplug_worker(struct work_struct *work) #endif hdmi_set_cable_state(1); - switch_set_state(&hdmi->sdev_audio, 1); + if (!hdmi->hdmi_data.video_mode.mDVI) + switch_set_state(&hdmi->sdev_audio, 1); switch_set_state(&hdmi->sdev_display, 1); } else if (!(phy_int_pol & HDMI_PHY_HPD)) { -- cgit v1.2.3