diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-18 03:06:01 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 02:30:25 -0500 |
commit | 62343997e475b8c33fef0d8549eef49f6855ae0a (patch) | |
tree | 4fab681a5770bd1952f8e82bd25edc9b1cacc40f | |
parent | 27d31536517aa3609c592b68f1a69b6b687061f8 (diff) |
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: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4fb815c7351d..954f4a8db004 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -2755,13 +2755,8 @@ static void alc_auto_init_analog_input(struct hda_codec *codec) | |||
2755 | 2755 | ||
2756 | for (i = 0; i < cfg->num_inputs; i++) { | 2756 | for (i = 0; i < cfg->num_inputs; i++) { |
2757 | hda_nid_t nid = cfg->inputs[i].pin; | 2757 | hda_nid_t nid = cfg->inputs[i].pin; |
2758 | if (alc_is_input_pin(codec, nid)) { | 2758 | if (alc_is_input_pin(codec, nid)) |
2759 | alc_set_input_pin(codec, nid, cfg->inputs[i].type); | 2759 | alc_set_input_pin(codec, nid, cfg->inputs[i].type); |
2760 | if (get_wcaps(codec, nid) & AC_WCAP_OUT_AMP) | ||
2761 | snd_hda_codec_write(codec, nid, 0, | ||
2762 | AC_VERB_SET_AMP_GAIN_MUTE, | ||
2763 | AMP_OUT_MUTE); | ||
2764 | } | ||
2765 | 2760 | ||
2766 | /* mute loopback inputs */ | 2761 | /* mute loopback inputs */ |
2767 | if (spec->mixer_nid) { | 2762 | if (spec->mixer_nid) { |