[alsa-devel] wrong print debugging message code
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Jun 23 20:51:01 CEST 2008
On Tue, Jun 24, 2008 at 03:18:49AM +0900, Jin-Young Park wrote:
> I defined "#define XXXX_DEBUG 0" and dbg() put into mute
> function(wm8960_digital_mute()).
The WM8960 driver isn't in the standard Linux kernel yet, it is currently
distributed via the Wolfson web site. None of the drivers included in
the standard Linux kernel were using their dbg() macros, though some had
such macros present.
> I think, it maybe potential that reduce performance before one knows.
The performance impact should be very minor - the digital mute is not
used in any hot paths and the output will only go do the dmesg buffer by
default so won't have the overhead of writing to the console.
Out of interest, which platform are you working with?
More information about the Alsa-devel
mailing list