mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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
This commit is contained in:
parent
8455587c89
commit
594508d5f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user