Commit 52ee29fe authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] drxk: Fix debug printks

This patch partially reverts 0fb220f2. What happened is
that the conversion of debug messages to use pr_debug() was a
bad idea, because one needing to debug would need to both
enable debug level via a modprobe parameter, and then to
enable the dynamic printk's.

So, for now, let's use printk() directly at dprintk().
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent a47959fb
...@@ -168,7 +168,7 @@ MODULE_PARM_DESC(debug, "enable debug messages"); ...@@ -168,7 +168,7 @@ MODULE_PARM_DESC(debug, "enable debug messages");
#define dprintk(level, fmt, arg...) do { \ #define dprintk(level, fmt, arg...) do { \
if (debug >= level) \ if (debug >= level) \
pr_debug(fmt, ##arg); \ printk(KERN_DEBUG KBUILD_MODNAME ": %s " fmt, __func__, ##arg); \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment