]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit660832c2ae3f324e4bdf4416f935d26415346029
treecc46028ecff85c18146f42a3acd47895f4619f6e
parent26297562eb16d2592b675d22a4d4d3cbb4041165
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