This way to only way to get debug info is to use dynamic debug, but I left 
debugging
prints to debug hardware issues, and so I want this to be enabled by module 
param

Signed-off-by: Maxim Levitsky <maximlevit...@gmail.com>
---
 drivers/media/rc/ene_ir.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/rc/ene_ir.h b/drivers/media/rc/ene_ir.h
index 6f978e8..a7911e3 100644
--- a/drivers/media/rc/ene_ir.h
+++ b/drivers/media/rc/ene_ir.h
@@ -185,7 +185,7 @@
 #define __dbg(level, format, ...)                              \
 do {                                                           \
        if (debug >= level)                                     \
-               pr_debug(format "\n", ## __VA_ARGS__);          \
+               pr_info(format "\n", ## __VA_ARGS__);           \
 } while (0)
 
 #define dbg(format, ...)               __dbg(1, format, ## __VA_ARGS__)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to