Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293101
b: refs/heads/master
c: 689cabf
h: refs/heads/master
i:
  293099: 2af01a0
v: v3
  • Loading branch information
Takashi Iwai committed Feb 21, 2012
1 parent 0304699 commit aa2fabb
Show file tree
Hide file tree
Showing 2 changed files with 7 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: c96f0bf4adc0663a69cdb0e2b73d33e6be312d1c
refs/heads/master: 689cabf6d07c82003310c221f719130f3a4f29c7
9 changes: 6 additions & 3 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -3613,14 +3613,17 @@ static int alc_auto_create_multi_out_ctls(struct hda_codec *codec,
dac = spec->multiout.dac_nids[i];
if (!dac)
continue;
if (i >= cfg->line_outs)
if (i >= cfg->line_outs) {
pin = spec->multi_io[i - 1].pin;
else
index = 0;
name = channel_name[i];
} else {
pin = cfg->line_out_pins[i];
name = alc_get_line_out_pfx(spec, i, true, &index);
}

sw = alc_look_for_out_mute_nid(codec, pin, dac);
vol = alc_look_for_out_vol_nid(codec, pin, dac);
name = alc_get_line_out_pfx(spec, i, true, &index);
if (!name || !strcmp(name, "CLFE")) {
/* Center/LFE */
err = alc_auto_add_vol_ctl(codec, "Center", 0, vol, 1);
Expand Down

0 comments on commit aa2fabb

Please sign in to comment.