diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/via82xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 2f1e6ebd56a7..e6e746fa4bb5 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -935,7 +935,8 @@ static int snd_via8233_playback_prepare(snd_pcm_substream_t *substream) | |||
935 | if (rate_changed) { | 935 | if (rate_changed) { |
936 | snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE, | 936 | snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE, |
937 | chip->no_vra ? 48000 : runtime->rate); | 937 | chip->no_vra ? 48000 : runtime->rate); |
938 | snd_ac97_set_rate(chip->ac97, AC97_SPDIF, ac97_rate); | 938 | snd_ac97_set_rate(chip->ac97, AC97_SPDIF, |
939 | chip->no_vra ? 48000 : runtime->rate); | ||
939 | } | 940 | } |
940 | if (runtime->rate == 48000) | 941 | if (runtime->rate == 48000) |
941 | rbits = 0xfffff; | 942 | rbits = 0xfffff; |