Skip to contentSkip to conversation

ASoC: amd: yc: Fix internal mic for HP board 8C30

PATCH In review David 2 participants 2 messages Sep 6 – Sep 7 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David

author
#1 lore raw

PATCH 1/1 ASoC: amd: yc: Fix internal mic for HP board 8C30

The HP laptop with AMD Ryzen 5 7535HS and ACP 6.x coprocessor (PCI ID 1022:15e2, subsystem 103c:8c30) requires an entry in yc_acp_quirk_table[] to enable the internal digital microphone (DMIC).

Without this quirk, acp6x_probe() returns -ENODEV and the internal microphone remains undetected.

Add a DMI quirk matching vendor "HP" and board name "8C30" to enable ACP DMIC support.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 73baa48..0d3304d 100644
@@ -721,6 +721,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 		.driver_data = &acp6x_card,
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+			DMI_MATCH(DMI_BOARD_NAME, "8C30"),
+		}
+	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
 			DMI_MATCH(DMI_BOARD_NAME, "8EE4"),
 		}
 	},
Signature · 1 line
2.45.0
maintainer
#2 lore raw
Quoted 9 lines · David

The HP laptop with AMD Ryzen 5 7535HS and ACP 6.x coprocessor (PCI ID 1022:15e2, subsystem 103c:8c30) requires an entry in yc_acp_quirk_table[] to enable the internal digital microphone (DMIC).

Without this quirk, acp6x_probe() returns -ENODEV and the internal microphone remains undetected.

Add a DMI quirk matching vendor "HP" and board name "8C30" to enable ACP DMIC support.

Does this already merged patch:

https://patch.msgid.link/[email protected]

also get things working for your system?