Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47151
b: refs/heads/master
c: 3338240
h: refs/heads/master
i:
  47149: b5809ba
  47147: 0c76c42
  47143: e6a6084
  47135: b1213fa
v: v3
  • Loading branch information
Matt Porter authored and Jaroslav Kysela committed Feb 9, 2007
1 parent d0305d9 commit b7ae7c8
Show file tree
Hide file tree
Showing 2 changed files with 13 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: cdf88efa03907a884177b226321bb41bc17c407f
refs/heads/master: 333824034a19baf71b2bd5fe2153630982f379b0
12 changes: 12 additions & 0 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,18 @@ static int patch_stac9205(struct hda_codec *codec)

spec->multiout.dac_nids = spec->dac_nids;

/* Configure GPIO0 as EAPD output */
snd_hda_codec_write(codec, codec->afg, 0,
AC_VERB_SET_GPIO_DIRECTION, 0x00000001);
/* Configure GPIO0 as CMOS */
snd_hda_codec_write(codec, codec->afg, 0, 0x7e7, 0x00000000);
/* Assert GPIO0 high */
snd_hda_codec_write(codec, codec->afg, 0,
AC_VERB_SET_GPIO_DATA, 0x00000001);
/* Enable GPIO0 */
snd_hda_codec_write(codec, codec->afg, 0,
AC_VERB_SET_GPIO_MASK, 0x00000001);

err = stac92xx_parse_auto_config(codec, 0x1f, 0x20);
if (err < 0) {
stac92xx_free(codec);
Expand Down

0 comments on commit b7ae7c8

Please sign in to comment.