Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6540
b: refs/heads/master
c: 16d3f14
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Aug 30, 2005
1 parent da3d226 commit 123352b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b27113102f576092cd8f5d6ce8365aa6e2f58134
refs/heads/master: 16d3f140fc265c9b9c0f8975e0b36fe15912508f
8 changes: 4 additions & 4 deletions trunk/sound/pci/via82xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,12 +929,12 @@ static int snd_via8233_playback_prepare(snd_pcm_substream_t *substream)

if ((rate_changed = via_lock_rate(&chip->rates[0], ac97_rate)) < 0)
return rate_changed;
if (rate_changed) {
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,
chip->no_vra ? 48000 : runtime->rate);
}
if (chip->spdif_on && viadev->reg_offset == 0x30)
snd_ac97_set_rate(chip->ac97, AC97_SPDIF, runtime->rate);

if (runtime->rate == 48000)
rbits = 0xfffff;
else
Expand Down

0 comments on commit 123352b

Please sign in to comment.