]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: amd: yc: Add quirk entry for OMEN by HP Gaming Laptop 16-n0xxx
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Aug 2024 17:02:27 +0000 (19:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 13:34:31 +0000 (15:34 +0200)
commit 6675e76a5c441b52b1b983ebb714122087020ebe upstream.

Fix the missing mic on OMEN by HP Gaming Laptop 16-n0xxx by adding the
quirk entry with the board ID 8A44.

Cc: stable@vger.kernel.org
Link: https://bugzilla.suse.com/show_bug.cgi?id=1227182
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807170249.16490-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/amd/yc/acp6x-mach.c

index 36dddf230c2c4d37434a0fa08300e0858a74fad7..d597e59863ee396f1a5cd422acd44bb685823a56 100644 (file)
@@ -409,6 +409,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, "8A44"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {