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
This commit is contained in:
parent
56887daf2f
commit
55c531bd81
@ -160,7 +160,7 @@ snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream,
|
|||||||
void **bufs, snd_pcm_uframes_t frames);
|
void **bufs, snd_pcm_uframes_t frames);
|
||||||
|
|
||||||
#ifdef PLUGIN_DEBUG
|
#ifdef PLUGIN_DEBUG
|
||||||
#define pdprintf(fmt, args...) printk(KERN_DEBUG "plugin: " fmt, ##args)
|
#define pdprintf(fmt, args...) pr_debug("plugin: " fmt, ##args)
|
||||||
#else
|
#else
|
||||||
#define pdprintf(fmt, args...)
|
#define pdprintf(fmt, args...)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user