Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257775
b: refs/heads/master
c: 7b1655f
h: refs/heads/master
i:
  257773: 1b86cf3
  257771: 45a538e
  257767: 88d6d8e
  257759: 26176bb
v: v3
  • Loading branch information
Takashi Iwai committed Jul 14, 2011
1 parent af03233 commit cf2858a
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: cf01b73e26a8e93b46cf0b8ae878206277fb8838
refs/heads/master: 7b1655f5f21a9bd1eb8b478c5dab9b83de809edc
3 changes: 3 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -3196,6 +3196,8 @@ static int alc_auto_ch_mode_put(struct snd_kcontrol *kcontrol,
for (i = 0; i < spec->multi_ios; i++)
alc_set_multi_io(codec, i, i < ch);
spec->multiout.max_channels = spec->ext_channel_count;
if (spec->need_dac_fix && !spec->const_channel_count)
spec->multiout.num_dacs = spec->multiout.max_channels / 2;
return 1;
}

Expand Down Expand Up @@ -3642,6 +3644,7 @@ static int patch_alc880(struct hda_codec *codec)
codec->spec = spec;

spec->mixer_nid = 0x0b;
spec->need_dac_fix = 1;

board_config = alc_board_config(codec, ALC880_MODEL_LAST,
alc880_models, alc880_cfg_tbl);
Expand Down

0 comments on commit cf2858a

Please sign in to comment.