Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34909
b: refs/heads/master
c: 7b89190
h: refs/heads/master
i:
  34907: f9b032d
v: v3
  • Loading branch information
Magnus Sandin authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 942fd85 commit e05c13b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bab282b912baf372d8f705357946ef691b621899
refs/heads/master: 7b89190cf6ecd5075c272b4ec12f65a4ce45a762
6 changes: 6 additions & 0 deletions trunk/sound/pci/ac97/ac97_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1573,6 +1573,12 @@ static int snd_ac97_mixer_build(struct snd_ac97 * ac97)
}

/* build S/PDIF controls */

/* Hack for ASUS P5P800-VM, which does not indicate S/PDIF capability */
if (ac97->subsystem_vendor == 0x1043 &&
ac97->subsystem_device == 0x810f)
ac97->ext_id |= AC97_EI_SPDIF;

if ((ac97->ext_id & AC97_EI_SPDIF) && !(ac97->scaps & AC97_SCAP_NO_SPDIF)) {
if (ac97->build_ops->build_spdif) {
if ((err = ac97->build_ops->build_spdif(ac97)) < 0)
Expand Down

0 comments on commit e05c13b

Please sign in to comment.