]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: mpu401_uart: Use standard print API
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Aug 2024 13:33:54 +0000 (15:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 05:47:22 +0000 (07:47 +0200)
commit1fa884ebeb73cfe5ff078606b8888aec38103e2b
treefa7a2228e8b7dcb07ea2415d9255532545d8e00c
parent2bddeda8ac8d5f773edcb63fd60fb2db332b029d
ALSA: mpu401_uart: 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 assignment of mpu->rmidi was moved to an earlier place, so that
dev_*() can access to the proper device pointer.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-5-tiwai@suse.de
sound/drivers/mpu401/mpu401_uart.c