]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
authorHans de Goede <hdegoede@redhat.com>
Sat, 21 Oct 2023 21:15:28 +0000 (23:15 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 24 Oct 2023 17:03:11 +0000 (18:03 +0100)
commit2cb54788393134d8174ee594002baae3ce52c61e
treeb974490c2b2a2b4acf8a2a10f2e2db0042a6268b
parent2e2a1613342658962250873cb8a0406bebdab9e3
ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk

The Lenovo Yoga Tab 3 Pro YT3-X90 x86 tablet, which ships with Android with
a custom kernel as factory OS, does not list the used WM5102 codec inside
its DSDT.

Workaround this with a new snd_soc_acpi_intel_baytrail_machines[] entry
which matches on the SST id instead of the codec id like nocodec does,
combined with using a machine_quirk callback which returns NULL on
other machines to skip the new entry on other machines.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20231021211534.114991-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-cht-match.c