Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81471
b: refs/heads/master
c: f1f208d
h: refs/heads/master
i:
  81469: 92904f4
  81467: 62cf010
  81463: 00115c1
  81455: 20ee941
  81439: 2a6d9fe
  81407: 3b11ce1
v: v3
  • Loading branch information
Matthew Ranostay authored and Jaroslav Kysela committed Jan 31, 2008
1 parent b75df94 commit 0e06ee7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 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: d9f9b8baa0fbdba93b0ebb8e5b3ec042a6b4a8fb
refs/heads/master: f1f208d0b4fb79f99d2ca5031c61ff5b52e42e75
13 changes: 10 additions & 3 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2723,14 +2723,21 @@ static int patch_stac927x(struct hda_codec *codec)
spec->dmic_nids = stac927x_dmic_nids;
spec->num_dmics = STAC927X_NUM_DMICS;
spec->dmux_nid = 0x1b;

/* Enable DMIC0 */
stac92xx_set_config_reg(codec, 0x13, 0x90a60040);

/* GPIO2 High = Enable EAPD */
spec->gpio_mask = spec->gpio_data = 0x00000004;
break;
default:
spec->num_dmics = 0;
spec->num_dmics = 0;

/* GPIO0 High = Enable EAPD */
spec->gpio_mask = spec->gpio_data = 0x00000001;
}

spec->multiout.dac_nids = spec->dac_nids;
/* GPIO0 High = Enable EAPD */
spec->gpio_mask = spec->gpio_data = 0x00000001;
stac92xx_enable_gpio_mask(codec);

err = stac92xx_parse_auto_config(codec, 0x1e, 0x20);
Expand Down

0 comments on commit 0e06ee7

Please sign in to comment.