]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add HP OMEN Gaming Laptop 16-ap0xxx product line in quirk table
authorTommaso Soncin <soncintommaso@gmail.com>
Wed, 29 Apr 2026 16:08:57 +0000 (18:08 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:05:13 +0000 (22:05 +0900)
Add a DMI quirk for the HP OMEN Gaming Laptop 16-ap0xxx line fixing the
issue where the internal microphone was not detected.

Cc: stable@vger.kernel.org
Signed-off-by: Tommaso Soncin <soncintommaso@gmail.com>
Link: https://patch.msgid.link/20260429160858.538986-1-soncintommaso@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index dde1a144e4d44f8b22ba41a2025c9af61c3b6358..7a637d6b5576446d11b0d428eba1d15120cef243 100644 (file)
@@ -59,6 +59,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "HP Laptop 15-fc0xxx"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "OMEN Gaming Laptop 16-ap0xxx"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {
@@ -675,6 +682,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8EE4"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_BOARD_NAME, "8E35"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {