summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-07 15:34:22 +0200
committerTakashi Iwai <tiwai@suse.de>2024-08-08 07:49:46 +0200
commit55c531bd81a66e1c3a0dd35e8ec07237ba9dce49 (patch)
tree588125bd26a0c840bf2f79f2920f14919c57d2ae /sound/core
parent56887daf2fa9206fa0fec7cfe6428835e0b66264 (diff)
downloadlwn-55c531bd81a66e1c3a0dd35e8ec07237ba9dce49.tar.gz
lwn-55c531bd81a66e1c3a0dd35e8ec07237ba9dce49.zip
ALSA: pcm: oss: Use pr_debug()
Use the standard print API instead of open-coded printk(). Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20240807133452.9424-33-tiwai@suse.de
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/oss/pcm_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/oss/pcm_plugin.h b/sound/core/oss/pcm_plugin.h
index 50a6b50f5db4..55035dbf23f0 100644
--- a/sound/core/oss/pcm_plugin.h
+++ b/sound/core/oss/pcm_plugin.h
@@ -160,7 +160,7 @@ snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream,
void **bufs, snd_pcm_uframes_t frames);
#ifdef PLUGIN_DEBUG
-#define pdprintf(fmt, args...) printk(KERN_DEBUG "plugin: " fmt, ##args)
+#define pdprintf(fmt, args...) pr_debug("plugin: " fmt, ##args)
#else
#define pdprintf(fmt, args...)
#endif