ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
authorTao Jin <tao-j@outlook.com>
Sat, 9 Apr 2022 22:44:24 +0000 (18:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:19 +0000 (09:34 +0200)
commita53062c94b8c7878850eef46c7022c362bc5ab7f
treef601c3a2e5d6b2a5e9c2b95605cb8f693a49b128
parent0349df521528e6b9dce8c3330233ff3b9587c7f5
ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers

commit 264fb03497ec1c7841bba872571bcd11beed57a7 upstream.

For this specific device on Lenovo Thinkpad X12 tablet, the verbs were
dumped by qemu running a guest OS that init this codec properly.
After studying the dump, it turns out that
the same quirk used by the other Lenovo devices can be reused.

The patch was tested working against the mainline kernel.

Cc: <stable@vger.kernel.org>
Signed-off-by: Tao Jin <tao-j@outlook.com>
Link: https://lore.kernel.org/r/CO6PR03MB6241CD73310B37858FE64C85E1E89@CO6PR03MB6241.namprd03.prod.outlook.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c