OSDN Git Service

ASoC: Intel: Baytrail: Add quirk for the Dell Venue 10 Pro 5055 tablet
authorHans de Goede <hdegoede@redhat.com>
Fri, 2 Apr 2021 14:07:43 +0000 (16:07 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 2 Apr 2021 15:13:21 +0000 (16:13 +0100)
The Dell Venue 10 Pro 5055 tablet uses an ACPI HID of 10EC5640 while using
a rt5672 codec (instead of a rt5640 codec). Add a quirk for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210402140747.174716-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-byt-match.c

index 4596d12..510a5f3 100644 (file)
@@ -74,6 +74,14 @@ static const struct dmi_system_id byt_table[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "RU2"),
                },
        },
+       {
+               /* Dell Venue 10 Pro 5055 */
+               .callback = byt_rt5672_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Venue 10 Pro 5055"),
+               },
+       },
        { }
 };