ASoC: amd: yc: Add DMI entries to support Victus by HP Laptop 16-e1xxx (8A22)
authorGe-org Brohammer <gbrohammer@outlook.com>
Thu, 16 Mar 2023 22:38:51 +0000 (00:38 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 17 Mar 2023 13:05:49 +0000 (13:05 +0000)
This model requires an additional detection quirk to
enable the internal microphone.

Tried to use git send-email this time.

Signed-off-by: Ge-org Brohammer <gbrohammer@outlook.com>
Link: https://lore.kernel.org/r/PAVP195MB2261322C220E95D7F4B2732ADABC9@PAVP195MB2261.EURP195.PROD.OUTLOOK.COM
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 4a69ce702360c547e3fc904b1a15d6823227d0c2..0acdf0156f075d02a701868ce67690990302e452 100644 (file)
@@ -269,6 +269,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8A43"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_BOARD_NAME, "8A22"),
+               }
+       },
        {}
 };