]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Drop debug.h
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:18 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:13:06 +0000 (15:13 +0100)
commitcf73bd0a63e9ae0eb4c12a9786110e9b3e9a7e75
tree3a0c7f3194947a7fcdcbdfcf339a68ba1028cf1c
parente1eb26c0161d3eb7fe118bb9ae96b91676b5d97d
ALSA: usb-audio: Drop debug.h

The file debug.h contains a simple macro for debug prints, and it's
used only in two places, the format parser and the hw_params rules.
The former actually should print a more informative message instead,
so the only users are the hw_parmas rules.

This patch moves the contents of debug.h into the hw_params rules
local code and remove the unneeded includes.  Also, the debug print in
the format parser is replaced with the information print with more
useful information, and the raw printk() call is replaced with
pr_debug().

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-13-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/debug.h [deleted file]
sound/usb/format.c
sound/usb/pcm.c