Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274116
b: refs/heads/master
c: 43dea22
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 6, 2011
1 parent 927e413 commit 9564b55
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 447c6f93aba42e6889be55a614d4dddc25f17863
refs/heads/master: 43dea228a3ba5463392281535dfb3d3fe56f4c2c
6 changes: 6 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -3329,6 +3329,12 @@ static void alc_auto_set_output_and_unmute(struct hda_codec *codec,
if (nid)
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
AMP_OUT_ZERO);

/* unmute DAC if it's not assigned to a mixer */
nid = alc_look_for_out_mute_nid(codec, pin, dac);
if (nid == mix && nid_has_mute(codec, dac, HDA_OUTPUT))
snd_hda_codec_write(codec, dac, 0, AC_VERB_SET_AMP_GAIN_MUTE,
AMP_OUT_ZERO);
}

static void alc_auto_init_multi_out(struct hda_codec *codec)
Expand Down

0 comments on commit 9564b55

Please sign in to comment.