Skip to content

Instantly share code, notes, and snippets.

@mamarley
Created September 18, 2012 00:48
Show Gist options
  • Save mamarley/3740636 to your computer and use it in GitHub Desktop.
Save mamarley/3740636 to your computer and use it in GitHub Desktop.
--- sound/pci/hda/patch_sigmatel.c.orig 2012-01-25 02:56:49.000000000 -0500
+++ sound/pci/hda/patch_sigmatel.c 2012-01-31 18:19:19.364380954 -0500
@@ -514,8 +514,8 @@
0x19, 0x1a
};
-static const hda_nid_t stac9205_dmux_nids[1] = {
- 0x1d,
+static const hda_nid_t stac9205_dmux_nids[2] = {
+ 0x1d, 0x1e
};
static const hda_nid_t stac9205_smux_nids[1] = {
@@ -1102,8 +1102,8 @@
if (err < 0)
return err;
}
- if (!spec->auto_mic && spec->num_dmuxes > 0 &&
- snd_hda_get_bool_hint(codec, "separate_dmux") == 1) {
+ if (!spec->auto_mic && spec->num_dmuxes > 0/* &&
+ snd_hda_get_bool_hint(codec, "separate_dmux") == 1*/) {
stac_dmux_mixer.count = spec->num_dmuxes;
err = snd_hda_ctl_add(codec, 0,
snd_ctl_new1(&stac_dmux_mixer, codec));
@@ -3905,13 +3905,13 @@
spec->autocfg.line_outs = 0;
}
- if (stac_check_auto_mic(codec)) {
- spec->auto_mic = 1;
- /* only one capture for auto-mic */
- spec->num_adcs = 1;
- spec->num_caps = 1;
- spec->num_muxes = 1;
- }
+ //if (stac_check_auto_mic(codec)) {
+ // spec->auto_mic = 1;
+ // /* only one capture for auto-mic */
+ // spec->num_adcs = 1;
+ // spec->num_caps = 1;
+ // spec->num_muxes = 1;
+ //}
for (i = 0; i < spec->num_caps; i++) {
err = stac92xx_add_capvol_ctls(codec, spec->capvols[i],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment