[linux-dvb] [PATCH] mxl500x: Add module parameter to enable/disable debug messages

Andy Walls awalls at radix.net
Fri Apr 25 05:16:18 CEST 2008


All,

The attached patch replaces the unconditional printk() messages with
printk() messages that are enabled by a "debug" module parameter.

When using the beta cx18 driver with the HVR-1600, the debug messages
produced by the mxl500x module are excessive, especially when MythTV
goes to fetch EPG data from the ATSC broadcasts. 

I didn't particularly like having to "#ifdef DEBUG" the debug macros,
but that's what Documentation/CodingStyle recommended.

Could you please review and comment?

Thanks,
Andy Walls



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mxl500x-module-debug-param.patch
Type: text/x-patch
Size: 8369 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080424/319211c7/attachment.bin 


More information about the linux-dvb mailing list