Re: [PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-27 Thread Mahapatra, Chandrabhanu
On Wed, Sep 26, 2012 at 7:59 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: This doesn't work quite correctly. The problem is in dss.h, where we define DEBUG if CONFIG_OMAP2_DSS_DEBUG_SUPPORT is set. The thing is, DEBUG should be defined before including the kernel headers where the pr_debug

Re: [PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-27 Thread Tomi Valkeinen
On Thu, 2012-09-27 at 16:20 +0530, Mahapatra, Chandrabhanu wrote: On Wed, Sep 26, 2012 at 7:59 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: This doesn't work quite correctly. The problem is in dss.h, where we define DEBUG if CONFIG_OMAP2_DSS_DEBUG_SUPPORT is set. The thing is, DEBUG

Re: [PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-26 Thread Tomi Valkeinen
Hi, On Wed, 2012-09-26 at 10:45 +0530, Chandrabhanu Mahapatra wrote: Hi everyone, this patch series aims at cleaning up of DSS of printk()'s enabled with dss_debug and replace them with generic dynamic debug printing. The 1st patch * replaces printk() in DSSDBG definition with pr_debug()

[PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-25 Thread Chandrabhanu Mahapatra
Hi everyone, this patch series aims at cleaning up of DSS of printk()'s enabled with dss_debug and replace them with generic dynamic debug printing. The 1st patch * replaces printk() in DSSDBG definition with pr_debug() * removes DSSDBGF definition and replaces its instances with DSSDBG() The