ALSA: hda: fixup headset for ASUS GX502 laptop
authorLuke D Jones <luke@ljones.dev>
Mon, 7 Sep 2020 08:19:59 +0000 (20:19 +1200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Sep 2020 08:30:32 +0000 (10:30 +0200)
commitc3cdf189276c2a63da62ee250615bd55e3fb680d
treede75231b42086ea7442b4c4484d776c5239c5c9a
parent6a6660d049f88b89fd9a4b9db3581b245f7782fa
ALSA: hda: fixup headset for ASUS GX502 laptop

The GX502 requires a few steps to enable the headset i/o: pincfg,
verbs to enable and unmute the amp used for headpone out, and
a jacksense callback to toggle output via internal or jack using
a verb.

Signed-off-by: Luke D Jones <luke@ljones.dev>
Cc: <stable@vger.kernel.org>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208005
Link: https://lore.kernel.org/r/20200907081959.56186-1-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c