aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0004e282a837..23475888192b 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3154,11 +3154,13 @@ static void alc256_shutup(struct hda_codec *codec)
3154 if (hp_pin_sense) 3154 if (hp_pin_sense)
3155 msleep(85); 3155 msleep(85);
3156 3156
3157 /* 3k pull low control for Headset jack. */
3158 /* NOTE: call this before clearing the pin, otherwise codec stalls */
3159 alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
3160
3157 snd_hda_codec_write(codec, hp_pin, 0, 3161 snd_hda_codec_write(codec, hp_pin, 0,
3158 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); 3162 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
3159 3163
3160 alc_update_coef_idx(codec, 0x46, 0, 3 << 12); /* 3k pull low control for Headset jack. */
3161
3162 if (hp_pin_sense) 3164 if (hp_pin_sense)
3163 msleep(100); 3165 msleep(100);
3164 3166