Commit 62343997 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda/realtek - Remove superfluous input amp init

The amps will be initialized via activate_path(), thus it's
superfluous to set in alc_auto_init_analog_input().
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 27d31536
...@@ -2755,13 +2755,8 @@ static void alc_auto_init_analog_input(struct hda_codec *codec) ...@@ -2755,13 +2755,8 @@ static void alc_auto_init_analog_input(struct hda_codec *codec)
for (i = 0; i < cfg->num_inputs; i++) { for (i = 0; i < cfg->num_inputs; i++) {
hda_nid_t nid = cfg->inputs[i].pin; hda_nid_t nid = cfg->inputs[i].pin;
if (alc_is_input_pin(codec, nid)) { if (alc_is_input_pin(codec, nid))
alc_set_input_pin(codec, nid, cfg->inputs[i].type); alc_set_input_pin(codec, nid, cfg->inputs[i].type);
if (get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)
snd_hda_codec_write(codec, nid, 0,
AC_VERB_SET_AMP_GAIN_MUTE,
AMP_OUT_MUTE);
}
/* mute loopback inputs */ /* mute loopback inputs */
if (spec->mixer_nid) { if (spec->mixer_nid) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment