aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2012-06-12 16:43:44 +0530
committerAndy Green <andy.green@linaro.org>2012-06-12 21:24:37 +0800
commit1f3bb2595c5473383ef09f4db9ecb60864fd85bd (patch)
tree2344f8df462a00b338611ac3e8dfa91474cb0a7a
parentbd38342a2ce233116e96b5a442f98a6763765c81 (diff)
OMAP2: DSS: Drop unused member mode of hdmitracking-tilt-tracking-llt-20120613.0
It HDMI audio gets the configuration via struct hdmi's 'ip_data' member. This 'mode' is redundant and is never touched other than being initialized this once. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r--drivers/video/omap2/dss/hdmi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 2cb88e8a3f80..2f9883904443 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -63,7 +63,6 @@ static struct {
struct hdmi_ip_data ip_data;
int hdmi_irq;
int hpd;
- int mode;
struct clk *sys_clk;
struct regulator *vdds_hdmi;
@@ -633,9 +632,6 @@ void omapdss_hdmi_display_set_timing(struct omap_dss_device *dssdev)
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 */