Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223580
b: refs/heads/master
c: 2d7ec12
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Dec 23, 2010
1 parent 4990a0e commit d3ae219
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c793bec550c68a1da1034090b43a886e8fee5eb0
refs/heads/master: 2d7ec12b902ae00920cee50d98757376b2fa9467
5 changes: 2 additions & 3 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3481,6 +3481,8 @@ static int stac92xx_auto_create_dmic_input_ctls(struct hda_codec *codec,

label = hda_get_input_pin_label(codec, nid, 1);
snd_hda_add_imux_item(dimux, label, index, &type_idx);
if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1)
snd_hda_add_imux_item(imux, label, index, &type_idx);

err = create_elem_capture_vol(codec, nid, label, type_idx,
HDA_INPUT);
Expand All @@ -3492,9 +3494,6 @@ static int stac92xx_auto_create_dmic_input_ctls(struct hda_codec *codec,
if (err < 0)
return err;
}

if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1)
snd_hda_add_imux_item(imux, label, index, NULL);
}

return 0;
Expand Down

0 comments on commit d3ae219

Please sign in to comment.