]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: asihpi: Use standard print API
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Aug 2024 13:34:42 +0000 (15:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 05:49:47 +0000 (07:49 +0200)
commit7f5485c4d3190dfc9294f347b2bfcce8c946b966
treea34288e6ee79ba77af65c3a1b521015c84eab01a
parentd41abde894830bfb77252653f606473728e930eb
ALSA: asihpi: Use standard print API

Use the standard print API with dev_*() instead of the old house-baked
one.  It gives better information and allows dynamically control of
debug prints.

The debug prints with a special macro snd_printddd() are replaced with
the conditional pr_debug().  Unfortunately dev_dbg() can't be applied
well due to the lack of the reference to the device pointer.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-53-tiwai@suse.de
sound/pci/asihpi/asihpi.c
sound/pci/asihpi/hpioctl.c