ALSA: Add debug module option
authorTakashi Iwai <tiwai@suse.de>
Thu, 27 Aug 2009 14:45:07 +0000 (16:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Aug 2009 15:42:08 +0000 (17:42 +0200)
commit36ce99c1dcab2978fc1900f19b431adedd8f99f6
tree5023629848d50243df8bbb780fde50468fd6acd3
parent1b0053a0f0893e6bbaaee0d28f5f6269459d8d14
ALSA: Add debug module option

Add debug module option to snd core.
This controls the debug print level.  When CONFIG_SND_DEBUG_VERBOSE
is set, you can suppress the debug messages by giving or changing this
parameter to a lower value.  debug=0 means no debug messsages.
As default, it's set to the verbose level 2.

Since this option can be changed dynamically via sysfs file, you can
suppress the verbose debug messages on the fly, which wasn't possible
before.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/ALSA-Configuration.txt
include/sound/core.h
sound/core/misc.c