summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-06-26 11:24:35 +0100
committerAndy Green <andy.green@linaro.org>2011-06-26 11:24:35 +0100
commitd35802388508bb0b221ce485414799b81638a97d (patch)
treef918c2e6871149aeb65616061e6d9833e5551556
parent49fd4ff01b3e3601f3136407290022ae8a62abc5 (diff)
fix lfb edid uplevel remove debug function that breaks link
dss_debug doesn't exist in the patchset, this removes the debug function and its only user to solve that. Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/video/omap2/dss/hdmi.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index f4e4b763733..dccddc9dc13 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -613,22 +613,6 @@ static struct hdmi_cm hdmi_get_code(struct omap_video_timings *timing)
struct omap_video_timings edid_timings;
-static inline void print_omap_video_timings(struct omap_video_timings *timings)
-{
- extern unsigned int dss_debug;
- if (dss_debug) {
- printk(KERN_INFO "Timing Info:\n");
- printk(KERN_INFO " pixel_clk = %d\n", timings->pixel_clock);
- printk(KERN_INFO " x_res = %d\n", timings->x_res);
- printk(KERN_INFO " y_res = %d\n", timings->y_res);
- printk(KERN_INFO " hfp = %d\n", timings->hfp);
- printk(KERN_INFO " hsw = %d\n", timings->hsw);
- printk(KERN_INFO " hbp = %d\n", timings->hbp);
- printk(KERN_INFO " vfp = %d\n", timings->vfp);
- printk(KERN_INFO " vsw = %d\n", timings->vsw);
- printk(KERN_INFO " vbp = %d\n", timings->vbp);
- }
-}
/*
* Written mainly by 223a4fdb Ricard Neri
@@ -658,7 +642,6 @@ static int get_edid_timing_data(struct HDMI_EDID *edid)
for (i = 0; i < EDID_SIZE_BLOCK0_TIMING_DESCRIPTOR; i++) {
get_edid_timing_info(&edid->DTD[i], &edid_timings);
DSSDBG("Block0 [%d] timings:", i);
- print_omap_video_timings(&edid_timings);
cm = hdmi_get_code(&edid_timings);
DSSDBG("Block0[%d] value matches code = %d , mode = %d",
i, cm.code, cm.mode);