]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
authorPrajna Sariputra <putr4.s@gmail.com>
Sat, 1 Apr 2023 15:21:30 +0000 (02:21 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:40 +0000 (17:32 +0100)
[ Upstream commit ee4281de4d60288b9c802bb0906061ec355ecef2 ]

This model requires an additional detection quirk to enable the internal microphone.

Signed-off-by: Prajna Sariputra <putr4.s@gmail.com>
Link: https://lore.kernel.org/r/2283110.ElGaqSPkdT@n0067ax-linux62
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 0acdf0156f075d02a701868ce67690990302e452..a428e17f032599fe77c76a735fee2fc148af49e0 100644 (file)
@@ -262,6 +262,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, "8A42"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {