From: Zheng Yang Date: Sat, 12 Jul 2014 06:31:03 +0000 (+0800) Subject: rk3036 tve: delete debug log. X-Git-Tag: firefly_0821_release~4916^2~256 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2be39b47b45f809438212aea3c7f14bfed35762;p=firefly-linux-kernel-4.4.55.git rk3036 tve: delete debug log. --- diff --git a/drivers/video/rockchip/tve/rk3036/rk3036_tve.c b/drivers/video/rockchip/tve/rk3036/rk3036_tve.c index 46d4a1f31270..6c3a1ea78f6e 100644 --- a/drivers/video/rockchip/tve/rk3036/rk3036_tve.c +++ b/drivers/video/rockchip/tve/rk3036/rk3036_tve.c @@ -58,7 +58,6 @@ static void dac_enable(bool enable) static void tve_set_mode (int mode) { - int i; TVEDBG("%s mode %d\n", __FUNCTION__, mode); tve_writel(TV_RESET, v_RESET(1)); @@ -100,15 +99,6 @@ static void tve_set_mode (int mode) tve_writel(TV_ACT_ST, 0x001500F6); tve_writel(TV_ACT_TIMING, 0x2694011D); } - - #ifdef DEBUG - for(i = 0; i < (0x100/4); i++) { - printk("0x%08x ", tve_readl(i * 4)); - if( (i + 1) % 4 == 0) - printk("\n"); - } - - #endif } static int tve_switch_fb(const struct fb_videomode *modedb, int enable)