diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 15:34:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 07:49:46 +0200 |
commit | 594508d5f35876ab9b9385bc8bc1ec9e200af0df (patch) | |
tree | c719784e7a38bf72c5ffec0d2657e48c16bc41f6 /sound | |
parent | 8455587c892437aeac0f87d2d502f9c7fb60e8f7 (diff) |
ALSA: azt3328: Use pr_warn()
Replace with the standard print API from the home-baked one.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-41-tiwai@suse.de
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/azt3328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 84989c291cd7..8a895d838005 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c @@ -1220,7 +1220,7 @@ snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data *codec, case AZF_FREQ_22050: freq = SOUNDFORMAT_FREQ_22050; break; case AZF_FREQ_32000: freq = SOUNDFORMAT_FREQ_32000; break; default: - snd_printk(KERN_WARNING "unknown bitrate %d, assuming 44.1kHz!\n", bitrate); + pr_warn("azf3328: unknown bitrate %d, assuming 44.1kHz!\n", bitrate); fallthrough; case AZF_FREQ_44100: freq = SOUNDFORMAT_FREQ_44100; break; case AZF_FREQ_48000: freq = SOUNDFORMAT_FREQ_48000; break; |