ALSA: hda: fixup headset for ASUS GU502 laptop
authorDaniel Cordova A <danesc87@gmail.com>
Fri, 7 May 2021 17:31:16 +0000 (12:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 May 2021 10:06:51 +0000 (12:06 +0200)
commit42796eb7c4851fdfa6ef41f8bb5b685403d5a721
tree6457c196b24baab7d6411589b240958d99dc8695
parent2cc051b6a4823c26a07f73b764d35d2d38423b88
ALSA: hda: fixup headset for ASUS GU502 laptop

commit c1b55029493879f5bd585ff79f326e71f0bc05e3 upstream.

The GU502 requires a few steps to make headset i/o works properly:
pincfg, verbs to unmute headphone out and callback to toggle output
between speakers and headphone using jack.

Signed-off-by: Daniel Cordova A <danesc87@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210507173116.12043-1-danesc87@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c