Re: wrong print debugging message code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux