ASoC: Intel: common: Add quirk for Thinkpad 8 tablet
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Aug 2018 11:43:36 +0000 (13:43 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 19:37:48 +0000 (20:37 +0100)
The Thinkpad 8 tablet uses 10EC5640 as ACPI HID, but it has a rt5670 codec
add a quirk for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-byt-match.c

index 4daa8a4f0c0c6907c176d66a9aad8fbf2df59218..097dc06377baaf14ff8f1b68a69cdb2700abd56f 100644 (file)
@@ -30,6 +30,13 @@ static int byt_thinkpad10_quirk_cb(const struct dmi_system_id *id)
 
 
 static const struct dmi_system_id byt_table[] = {
+       {
+               .callback = byt_thinkpad10_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad 8"),
+               },
+       },
        {
                .callback = byt_thinkpad10_quirk_cb,
                .matches = {