OSDN Git Service

ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
authorAnthony I Gilea <i@cpp.in>
Fri, 4 Mar 2022 20:45:32 +0000 (14:45 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:13:15 +0000 (13:13 +0000)
HP changed the DMI identification for 2022 devices:
Product Name: HP Spectre x360 Conv 13-ap0001na
Product Name: 8709
This patch relaxes the DMI_MATCH criterion to work with all versions of this product.

Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Anthony I Gilea <i@cpp.in>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220304204532.54675-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/dmi-quirks.c
sound/soc/intel/boards/sof_sdw.c

index 0ca2a3e..7479837 100644 (file)
@@ -59,7 +59,7 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
        {
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "HP"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Conv"),
                },
                .driver_data = (void *)intel_tgl_bios,
        },
index da515eb..1f00679 100644 (file)
@@ -185,7 +185,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                .callback = sof_sdw_quirk_cb,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "HP"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Conv"),
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
                                        SOF_SDW_PCH_DMIC |