Add a DMI quirk for the HP OMEN by HP Gaming Laptop 16-n0xxx fixing
the issue where the internal microphone was not detected.
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218997
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index a30ece2038c5..0942c74750ac 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -645,6 +645,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_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16-n0xxx"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
--
2.25.1