]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcb476fa5688388483bb4182ca5aa4d3a8699bd5
treede75231b42086ea7442b4c4484d776c5239c5c9a
parentac7aca20e32fd1044cf2ff10f2bb8f7f1f8942d4
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