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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Apr 2022 07:31:33 +0000 (09:31 +0200)
commit264fb03497ec1c7841bba872571bcd11beed57a7
treecc46028ecff85c18146f42a3acd47895f4619f6e
parent2f7a26abb8241a0208c68d22815aa247c5ddacab
ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers

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>
sound/pci/hda/patch_realtek.c