|
@@ -3329,6 +3329,12 @@ static void alc_auto_set_output_and_unmute(struct hda_codec *codec,
|
|
if (nid)
|
|
if (nid)
|
|
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
|
|
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
|
|
AMP_OUT_ZERO);
|
|
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)
|
|
static void alc_auto_init_multi_out(struct hda_codec *codec)
|