|
@@ -3154,11 +3154,13 @@ static void alc256_shutup(struct hda_codec *codec)
|
|
|
if (hp_pin_sense)
|
|
|
msleep(85);
|
|
|
|
|
|
+ /* 3k pull low control for Headset jack. */
|
|
|
+ /* NOTE: call this before clearing the pin, otherwise codec stalls */
|
|
|
+ alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
|
|
|
+
|
|
|
snd_hda_codec_write(codec, hp_pin, 0,
|
|
|
AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
|
|
|
|
|
|
- alc_update_coef_idx(codec, 0x46, 0, 3 << 12); /* 3k pull low control for Headset jack. */
|
|
|
-
|
|
|
if (hp_pin_sense)
|
|
|
msleep(100);
|
|
|
|