summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-04-11 12:34:48 +0800
committerAndy Green <andy.green@linaro.org>2012-04-12 16:17:20 +0800
commit0ac06f48e2a1bdd99e8dce562e6ccd3e6fe96dc2 (patch)
tree12727c766eec88a14f615699d9b15f7fdf9c3efe
parent56d4d8ec7fe890eb19b20ec3226136a17a837e77 (diff)
OMAPDSS HDMI repair missing hdmi mode set for hdmi audiotracking-topic-omap54xx-dss
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 3bed41411f3..2197b55ba64 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -691,6 +691,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 */