aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
authorChandrabhanu Mahapatra <cmahapatra@ti.com>2012-09-29 04:27:31 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-10-12 07:15:31 -0400
commit28bcd199cc4465733c1ac0c70135a385fff97c71 (patch)
tree49302fd87448cee78feaf1af4dda01493d9b6183 /drivers/video/omap2/dss/dsi.c
parentf30be7d326671ec5691f83b6d473550ac002e008 (diff)
OMAPDSS: Remove dss_debug variable
All the debug prints have been replaced with pr_debug(). Thus, the dependency on dss_debug variable is replaced with dyndbg in dynamic debugging mode and DEBUG flag otherwise. So, the dss_debug variable is removed along with checks for DEBUG flag. Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com> Reviewed-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r--drivers/video/omap2/dss/dsi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 19daee9fd302..bbbafe370572 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -1095,15 +1095,11 @@ static inline void dsi_enable_pll_clock(struct platform_device *dsidev,
1095 } 1095 }
1096} 1096}
1097 1097
1098#ifdef DEBUG
1099static void _dsi_print_reset_status(struct platform_device *dsidev) 1098static void _dsi_print_reset_status(struct platform_device *dsidev)
1100{ 1099{
1101 u32 l; 1100 u32 l;
1102 int b0, b1, b2; 1101 int b0, b1, b2;
1103 1102
1104 if (!dss_debug)
1105 return;
1106
1107 /* A dummy read using the SCP interface to any DSIPHY register is 1103 /* A dummy read using the SCP interface to any DSIPHY register is
1108 * required after DSIPHY reset to complete the reset of the DSI complex 1104 * required after DSIPHY reset to complete the reset of the DSI complex
1109 * I/O. */ 1105 * I/O. */
@@ -1134,9 +1130,6 @@ static void _dsi_print_reset_status(struct platform_device *dsidev)
1134 1130
1135#undef DSI_FLD_GET 1131#undef DSI_FLD_GET
1136} 1132}
1137#else
1138#define _dsi_print_reset_status(x)
1139#endif
1140 1133
1141static inline int dsi_if_enable(struct platform_device *dsidev, bool enable) 1134static inline int dsi_if_enable(struct platform_device *dsidev, bool enable)
1142{ 1135{