[PATCH] soundwire: dmi-quirks: update HP Omen match

Bard Liao posted 1 patch 2 years, 2 months ago
drivers/soundwire/dmi-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] soundwire: dmi-quirks: update HP Omen match
Posted by Bard Liao 2 years, 2 months ago
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

New platforms have a slightly different DMI product name, remove
trailing characters/digits to handle all cases

Closes: https://github.com/thesofproject/linux/issues/4611
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
 drivers/soundwire/dmi-quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c
index 2a1096dab63d..9ebdd0cd0b1c 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -141,7 +141,7 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16-k0xxx"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16"),
 		},
 		.driver_data = (void *)hp_omen_16,
 	},
-- 
2.25.1
Re: [PATCH] soundwire: dmi-quirks: update HP Omen match
Posted by Vinod Koul 2 years, 2 months ago
On Fri, 13 Oct 2023 09:08:33 +0800, Bard Liao wrote:
> New platforms have a slightly different DMI product name, remove
> trailing characters/digits to handle all cases
> 
> 

Applied, thanks!

[1/1] soundwire: dmi-quirks: update HP Omen match
      commit: 4ea2b6d3128ea4d502c4015df0dc16b7d1070954

Best regards,
-- 
~Vinod