Skip to content

Commit

Permalink
Merge branch 'for-next'
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwai committed Jan 19, 2018
2 parents 6ac001f + 1c9609e commit 2005e71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2005e71

Please sign in to comment.