[PATCH] ASoC: amd: yc: Add DMI quirk for HP OMEN by HP Gaming Laptop 16-n0xxx
Zhang Heng <[email protected]>
| Newsgroups | org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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