Re: [PATCH 2/8] [media] au0828: Improve debug messages for urb_completion

2014-05-22 Thread Mauro Carvalho Chehab
Em Thu, 22 May 2014 10:36:24 +0200 Ricardo Ribalda Delgado escreveu: > Hello Mauro > > Are you aware that using dynamic printk you can decide to print > __func__ on demand? > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/dynamic-debug-howto.txt#n213 Yes,

Re: [PATCH 2/8] [media] au0828: Improve debug messages for urb_completion

2014-05-22 Thread Ricardo Ribalda Delgado
Hello Mauro Are you aware that using dynamic printk you can decide to print __func__ on demand? https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/dynamic-debug-howto.txt#n213 Perhaps it is better to not add __func__ Regards! On Wed, May 21, 2014 at 8:19 PM, Ma

[PATCH 2/8] [media] au0828: Improve debug messages for urb_completion

2014-05-21 Thread Mauro Carvalho Chehab
Sometimes, it helps to know how much data was received by urb_completion. Add that information to the optional debug log. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/au0828/au0828-dvb.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/media/