Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8817
b: refs/heads/master
c: ee71508
h: refs/heads/master
i:
  8815: 2b5adc9
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Sep 12, 2005
1 parent 98bacf8 commit e554af4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 9f566cfde14e185bcc3589ba7470788ed193535a
refs/heads/master: ee71508e7359c16b43d6232e52cd19ec328e1f7c
9 changes: 7 additions & 2 deletions trunk/sound/pci/ac97/ac97_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2145,8 +2145,13 @@ int patch_alc655(ac97_t * ac97)
val = snd_ac97_read(ac97, 0x7a); /* misc control */
if (ac97->id == 0x414c4780) /* ALC658 */
val &= ~(1 << 1); /* Pin 47 is spdif input pin */
else /* ALC655 */
val |= (1 << 1); /* Pin 47 is spdif input pin */
else { /* ALC655 */
if (ac97->subsystem_vendor == 0x1462 &&
ac97->subsystem_device == 0x0131) /* MSI S270 laptop */
val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
else
val |= (1 << 1); /* Pin 47 is spdif input pin */
}
val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val);
/* set default: spdif-in enabled,
Expand Down

0 comments on commit e554af4

Please sign in to comment.