Skip to contentSkip to conversation

soundwire: dmi-quirks: update HP Omen match

PATCH Applied Bard Liao 2 participants 2 messages Oct 13, 2023 – Oct 16, 2023 SoundWire

lore
Share & tools
lore

Bard Liao

author maintainer
#0 lore raw

PATCH 1/1 soundwire: dmi-quirks: update HP Omen match

From: Pierre-Louis Bossart <[email protected]>

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

---
 drivers/soundwire/dmi-quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soundwire/dmi-quirks.c +1 -1
index 2a1096dab63d..9ebdd0cd0b1c 100644
@@ -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,
 	},
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Bard Liao

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,

Signature · 1 line
~Vinod