diff mbox series

ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table

Message ID 392d72f2f86bebd56b072431ec0199aaaa5daad6.camel@gmail.com (mailing list archive)
State Superseded
Headers show
Series ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table | expand

Commit Message

Joseph Hunkeler Jan. 11, 2023, 3:58 p.m. UTC
Adding support for the HP Omen 16z-n000 laptop; this enables the internal
microphone.

Signed-off-by: Joseph Hunkeler <jhunkeler@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 1f0b5527c594..32b61189d653 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -220,6 +220,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 14 2022"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
+		}
+	},
 	{}
 };