]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set
authorDaniel Mack <zonque@gmail.com>
Wed, 18 May 2011 09:28:39 +0000 (11:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 May 2011 09:44:35 +0000 (11:44 +0200)
commit0d445fd81e43a1df02d7299dafb0b14bcc18b63f
tree2ed34a95001e561a3dbb4b331edee677273cb355
parent139074687e9240b441760321cffd6137e96b8d66
ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set

Just defining it to nothing is dangerous as it can alter the code
execution flow, for example when used in as only function in a
conditional code block.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/debug.h