aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_ca0110.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_ca0110.c')
-rw-r--r--sound/pci/hda/patch_ca0110.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_ca0110.c b/sound/pci/hda/patch_ca0110.c
index 646dc976f4bd..a3b70a8f6df8 100644
--- a/sound/pci/hda/patch_ca0110.c
+++ b/sound/pci/hda/patch_ca0110.c
@@ -355,7 +355,8 @@ static void init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac)
355static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) 355static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc)
356{ 356{
357 if (pin) { 357 if (pin) {
358 snd_hda_set_pin_ctl(codec, pin, PIN_VREF80); 358 snd_hda_set_pin_ctl(codec, pin, PIN_IN |
359 snd_hda_get_default_vref(codec, pin));
359 if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP) 360 if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP)
360 snd_hda_codec_write(codec, pin, 0, 361 snd_hda_codec_write(codec, pin, 0,
361 AC_VERB_SET_AMP_GAIN_MUTE, 362 AC_VERB_SET_AMP_GAIN_MUTE,