summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-12-25 19:09:04 +0800
committerShengjiu Wang <b02247@freescale.com>2013-12-26 13:08:40 +0800
commita5cf121dababe6f6c7481e64b839894dfaa26035 (patch)
tree055c0000fb1f1acfaec9930317ac2e5065cfe7f8
parent68f2962a24700ad4759024ee26debce6b09afa27 (diff)
ENGR00293329 Audio will block when HDMI-DVI interface plugged
Don't send hdmi_audio uevent when HDMI-DVI connected. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
-rw-r--r--drivers/video/mxc_hdmi.c3
1 files changed, 2 insertions, 1 deletions
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)) {