--------------------- PatchSet 3112 Date: 2005/04/11 15:08:32 Author: tiwai Branch: HEAD Tag: (none) Log: Summary: Fix SPDIF rate with dxs_support=4 Fix SPDIF rate setting with dxs_support=4. It should be 48k fixed. Members: pci/via82xx.c:1.142->1.143 Index: /sound/pci/via82xx.c diff -u /sound/pci/via82xx.c.old /sound/pci/via82xx.c --- /sound/pci/via82xx.c.old Mon Apr 11 07:04:35 2005 +++ /sound/pci/via82xx.c Mon Apr 11 07:08:32 2005 @@ -935,7 +935,8 @@ 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;