]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05...
authorCameron Berkenpas <cam@neo-zeon.de>
Mon, 13 Sep 2021 21:26:29 +0000 (14:26 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Sep 2021 09:09:17 +0000 (11:09 +0200)
commitab86471b5d5814d095edbc53fdea12b57883b69a
tree68e71ea7bc3055d171728d9d7015542717b85490
parentdc6717d8dfa055951ac7a66717590916370bc892
ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.

This patch initializes and enables speaker output on the Lenovo Legion 7i
15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 series of laptops using the
HDA verb sequence specific to each model.

Speaker automute is suppressed for the Lenovo Legion 7i 15IMHG05 to avoid
breaking speaker output on resume and when devices are unplugged from its
headphone jack.

Thanks to: Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle and
all others that helped.

[ minor coding style fixes by tiwai ]

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208555
Signed-off-by: Cameron Berkenpas <cam@neo-zeon.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210913212627.339362-1-cam@neo-zeon.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c