Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287609
b: refs/heads/master
c: fc1156c
h: refs/heads/master
i:
  287607: 2756a8d
v: v3
  • Loading branch information
Takashi Iwai committed Feb 13, 2012
1 parent b3e22bd commit 66e0518
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a1e0c3cf7fb07227fe1f26161d969101dba78287
refs/heads/master: fc1156c0b0f7ad45ec03d919866349eeca2bf18c
3 changes: 3 additions & 0 deletions trunk/sound/pci/hda/patch_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ static void via_auto_init_analog_input(struct hda_codec *codec)
/* init input-src */
for (i = 0; i < spec->num_adc_nids; i++) {
int adc_idx = spec->inputs[spec->cur_mux[i]].adc_idx;
/* secondary ADCs must have the unique MUX */
if (i > 0 && !spec->mux_nids[i])
break;
if (spec->mux_nids[adc_idx]) {
int mux_idx = spec->inputs[spec->cur_mux[i]].mux_idx;
snd_hda_codec_write(codec, spec->mux_nids[adc_idx], 0,
Expand Down

0 comments on commit 66e0518

Please sign in to comment.