aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/hda_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index dc849e489641..cb40a0b7ce3e 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -2650,8 +2650,8 @@ static int hp_mic_jack_mode_put(struct snd_kcontrol *kcontrol,
2650 if (in_jacks > 1) { 2650 if (in_jacks > 1) {
2651 unsigned int vref_caps = get_vref_caps(codec, nid); 2651 unsigned int vref_caps = get_vref_caps(codec, nid);
2652 val = snd_hda_codec_get_pin_target(codec, nid); 2652 val = snd_hda_codec_get_pin_target(codec, nid);
2653 val &= ~AC_PINCTL_VREFEN; 2653 val &= ~(AC_PINCTL_VREFEN | PIN_HP);
2654 val |= get_vref_idx(vref_caps, idx); 2654 val |= get_vref_idx(vref_caps, idx) | PIN_IN;
2655 } else 2655 } else
2656 val = snd_hda_get_default_vref(codec, nid); 2656 val = snd_hda_get_default_vref(codec, nid);
2657 } 2657 }