OSDN Git Service

ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A43)
authorDuc Anh Le <lub.the.studio@gmail.com>
Mon, 27 Feb 2023 23:49:21 +0000 (00:49 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Feb 2023 14:00:32 +0000 (14:00 +0000)
This model requires an additional detection quirk to enable the internal microphone.

Signed-off-by: Duc Anh Le <lub.the.studio@gmail.com>
Link: https://lore.kernel.org/r/20230227234921.7784-1-lub.the.studio@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index c061519..9c183d4 100644 (file)
@@ -255,6 +255,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, "8A43"),
+               }
+       },
        {}
 };