linux/drivers/media/pci/saa7134
Mauro Carvalho Chehab c6c62cce32 [media] saa7134: better handle core debug messages
On media drivers, debugging messages should be grouped into
categories, as this makes easier to debug the driver.

In the case of saa7134, the core has 2 debug categories, one
for IRQ, and another one for the core itself. The IRQ have
actually 2 levels of debug.

So, instead of using pr_dbg(), where everything would be in
the same box, let's define two macros that use pr_fmt(),
one for the core, and another one for irq.

With that, we can replace the remaining printk() occurrences
at the core to use either core_dbg() or irq_dbg(), depending
on the group of debug macros that need to be enabled.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-13 10:08:52 -03:00
..
Kconfig [media] saa7134: Fix compilation breakage when go7007 is not selected 2014-09-23 16:13:47 -03:00
Makefile [media] saa7134: Fix compilation breakage when go7007 is not selected 2014-09-23 16:13:47 -03:00
saa7134-alsa.c [media] saa7134-alsa: use pr_debug() instead of printk 2015-05-13 09:59:06 -03:00
saa7134-cards.c [media] saa7134: use pr_warn() on some places where no KERN_foo were used 2015-05-13 10:08:33 -03:00
saa7134-core.c [media] saa7134: better handle core debug messages 2015-05-13 10:08:52 -03:00
saa7134-dvb.c [media] saa7134-dvb: use pr_debug() for the saa7134 dvb module 2015-05-13 10:07:57 -03:00
saa7134-empress.c [media] saa7134-empress: use pr_debug() for the saa7134 empress module 2015-05-13 10:08:15 -03:00
saa7134-go7007.c [media] saa7134: prepare to use pr_foo macros 2015-05-13 09:55:47 -03:00
saa7134-i2c.c [media] saa7134: instead of using printk KERN_foo, use pr_foo 2015-05-13 09:57:17 -03:00
saa7134-input.c [media] saa7134: prepare to use pr_foo macros 2015-05-13 09:55:47 -03:00
saa7134-reg.h [media] saa7134: add vidioc_querystd 2014-05-23 12:56:01 -03:00
saa7134-ts.c [media] saa7134: prepare to use pr_foo macros 2015-05-13 09:55:47 -03:00
saa7134-tvaudio.c [media] saa7134: instead of using printk KERN_foo, use pr_foo 2015-05-13 09:57:17 -03:00
saa7134-vbi.c [media] saa7134: prepare to use pr_foo macros 2015-05-13 09:55:47 -03:00
saa7134-video.c [media] saa7134: instead of using printk KERN_foo, use pr_foo 2015-05-13 09:57:17 -03:00
saa7134.h [media] saa7134: prepare to use pr_foo macros 2015-05-13 09:55:47 -03:00