]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add DMI entry for HP Laptop 15-fc0xxx
authorGilson Marquato Júnior <gilsonmandalogo@hotmail.com>
Mon, 30 Mar 2026 01:43:48 +0000 (02:43 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 Mar 2026 14:16:28 +0000 (15:16 +0100)
The HP Laptop 15-fc0xxx (subsystem ID 0x103c8dc9) has an internal
DMIC connected to the AMD ACP6x audio coprocessor. Add a DMI quirk
entry so the internal microphone is properly detected on this model.

Tested on HP Laptop 15-fc0237ns with Fedora 43 (kernel 6.19.9).

Signed-off-by: Gilson Marquato Júnior <gilsonmandalogo@hotmail.com>
Link: https://patch.msgid.link/20260330-hp-15-fc0xxx-dmic-v2-v1-1-6dd6f53a1917@hotmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 87d6aeb78807eabbd96a4839316355a52a3f9263..aa62009331825482f7b6fd91633e787e83e85188 100644 (file)
@@ -45,6 +45,13 @@ static struct snd_soc_card acp6x_card = {
 };
 
 static const struct dmi_system_id yc_acp_quirk_table[] = {
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP Laptop 15-fc0xxx"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {