[PATCH] ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)

From: Prajna Sariputra
Date: Sat Apr 01 2023 - 11:21:49 EST


This model requires an additional detection quirk to enable the internal microphone.

Signed-off-by: Prajna Sariputra <putr4.s@xxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
---
Based on https://lore.kernel.org/r/20230227234921.7784-1-lub.the.studio@xxxxxxxxx/

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 0acdf0156f07..a428e17f0325 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -262,6 +262,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8A42"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {