projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7eb7c
)
[ALSA] Fix SPDIF rate with dxs_support=4
author
Takashi Iwai
<tiwai@suse.de>
Mon, 11 Apr 2005 13:08:32 +0000
(15:08 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 08:00:27 +0000
(10:00 +0200)
VIA82xx driver
Fix SPDIF rate setting with dxs_support=4. It should be 48k fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/via82xx.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/via82xx.c
b/sound/pci/via82xx.c
index 2f1e6ebd56a77b03b7d0d19b69c4c18267d31848..e6e746fa4bb5e47de725601386787fbe250e97fa 100644
(file)
--- 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)
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;