提交 01ef355f 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Fix SPDIF rate with dxs_support=4

VIA82xx driver
Fix SPDIF rate setting with dxs_support=4.  It should be 48k fixed.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 2d7eb7cb
......@@ -935,7 +935,8 @@ static int snd_via8233_playback_prepare(snd_pcm_substream_t *substream)
if (rate_changed) {
snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE,
chip->no_vra ? 48000 : runtime->rate);
snd_ac97_set_rate(chip->ac97, AC97_SPDIF, ac97_rate);
snd_ac97_set_rate(chip->ac97, AC97_SPDIF,
chip->no_vra ? 48000 : runtime->rate);
}
if (runtime->rate == 48000)
rbits = 0xfffff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册