summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-04-10 15:34:09 +0800
committerAndy Green <andy.green@linaro.org>2012-04-10 15:34:09 +0800
commit2d65b0381fb8a3b42c45abd2aa37ea84c7dfae68 (patch)
treef359eea054ee130962c3c6b566275faf23fc375d
parentd43b94871040d0824054b464b948a68a84c7b277 (diff)
OMAPDSS HDMI repair missing hdmi mode set for hdmi audiotilt-3.3-omap5-eng-19-android
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/video/omap2/dss/hdmi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 4a224704f89..ca673341afd 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -701,6 +701,10 @@ void omapdss_hdmi_display_set_timing(struct omap_dss_device *dssdev)
struct hdmi_cm cm;
cm = hdmi_get_code(&dssdev->panel.timings);
+
+ /* HDMI audio looks at this */
+ hdmi.mode = cm.mode;
+
if (cm.code == -1) {
hdmi.ip_data.cfg.cm.code = 0;
/* Assume VESA timing if non-standard */