summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-04-10 15:36:56 +0800
committerAndy Green <andy.green@linaro.org>2012-04-10 15:36:56 +0800
commit3da88fa2f2506526ef200d64d7308e205150bf4a (patch)
tree19d57310305358c65a67d0e24d37a3d9af9e2c93
parenta1ce1eba7731811458b56ad7e3ce99eec191f10f (diff)
OMAPDSS HDMI repair missing hdmi mode set for hdmi audiotilt-3.3-omap5-eng-19
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 */