Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1493
b: refs/heads/master
c: 23fea4d
h: refs/heads/master
i:
  1491: 927d3ea
v: v3
  • Loading branch information
Sasha Khapyorsky authored and Jaroslav Kysela committed May 29, 2005
1 parent 0546dd3 commit 0966efa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 8e8311b0ac4dc8a2cf317e122a6f7dc4467e3254
refs/heads/master: 23fea4dad67a665e8d359dbb39180422385f1dcc
6 changes: 5 additions & 1 deletion trunk/sound/pci/ac97/ac97_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,11 @@ int snd_ac97_mixer(ac97_bus_t *bus, ac97_template_t *template, ac97_t **rac97)
goto __access_ok;
}

snd_ac97_write(ac97, AC97_RESET, 0); /* reset to defaults */
/* reset to defaults */
if (!(ac97->scaps & AC97_SCAP_SKIP_AUDIO))
snd_ac97_write(ac97, AC97_RESET, 0);
if (!(ac97->scaps & AC97_SCAP_SKIP_MODEM))
snd_ac97_write(ac97, AC97_EXTENDED_MID, 0);
if (bus->ops->wait)
bus->ops->wait(ac97);
else {
Expand Down

0 comments on commit 0966efa

Please sign in to comment.