]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:46:58 +0000 (14:46 +0100)
commit880813d939421ad7d247afd5d23fc134146a73db
treef8ea1bb368cad7103edb4a9a3a6d38bd9fcc51c1
parent8b09d3fd86870bd8d3b983093ae4ea87ed61cec4
ALSA: hda: fixup headset for ASUS GX502 laptop

BugLink: https://bugs.launchpad.net/bugs/1896828
commit c3cdf189276c2a63da62ee250615bd55e3fb680d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
sound/pci/hda/patch_realtek.c