summaryrefslogtreecommitdiff
path: root/sound/drivers/opl4/yrw801.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-07 15:33:57 +0200
committerTakashi Iwai <tiwai@suse.de>2024-08-08 07:47:23 +0200
commit7debf0350e264c431f8c029a15d799317dd5d052 (patch)
tree30e831601ca796fece2301290c59c8e11f6577f1 /sound/drivers/opl4/yrw801.c
parenta2fa882d6dea19b4488b10f40334e04c77503ffc (diff)
downloadlinux-7debf0350e264c431f8c029a15d799317dd5d052.tar.gz
linux-7debf0350e264c431f8c029a15d799317dd5d052.tar.bz2
linux-7debf0350e264c431f8c029a15d799317dd5d052.zip
ALSA: opl4: 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. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20240807133452.9424-8-tiwai@suse.de
Diffstat (limited to 'sound/drivers/opl4/yrw801.c')
-rw-r--r--sound/drivers/opl4/yrw801.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl4/yrw801.c b/sound/drivers/opl4/yrw801.c
index 6c335492d082..9e464b84b905 100644
--- a/sound/drivers/opl4/yrw801.c
+++ b/sound/drivers/opl4/yrw801.c
@@ -43,7 +43,7 @@ int snd_yrw801_detect(struct snd_opl4 *opl4)
snd_opl4_read_memory(opl4, buf, 0x1ffffe, 2);
if (buf[0] != 0x01)
return -ENODEV;
- snd_printdd("YRW801 ROM version %02x.%02x\n", buf[0], buf[1]);
+ dev_dbg(opl4->card->dev, "YRW801 ROM version %02x.%02x\n", buf[0], buf[1]);
return 0;
}