]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc-core: don't use dynamic_pr_debug for IR_dprintk()
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 02:25:36 +0000 (23:25 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 02:40:06 +0000 (23:40 -0300)
commitf86b52693d2288138283a4900a1b69278689d157
treef224f821fe20cdee6581ed350cf876d1b0cb9f34
parentecfad7282b5659f17e743fca519e4d88938fad5c
[media] rc-core: don't use dynamic_pr_debug for IR_dprintk()

The hole point of IR_dprintk() is that, once a level is
given at debug parameter, all enabled IR parsers will show their
debug messages.

While converting it to dynamic_printk might be a good idea,
right now it just makes very hard to debug the drivers, as
one needs to both pass debug=1 or debug=2 to rc-core and
to use the dynamic printk to enable all the desired lines.

That doesn't make sense!

So, revert to the old way, as a single line is changed,
and the debug parameter will now work as expected.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/media/rc-core.h