Skip to contentSkip to conversation

ASoC: amd: yc: Add DMI quirk for HP 255R G10 (board 8D22)

PATCH In review Alen Tišljar 2 participants 2 messages Nov 24 – Nov 25

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: amd: yc: Add DMI quirk for HP 255R G10 (board 8D22)

The HP 255R 15.6 inch G10 Notebook PC (board 8D22, Ryzen 7 7735U) has an internal DMIC connected to the ACP6x. Without a quirk entry the acp6x machine driver doesn't register a card and the internal microphone doesn't work.

Add a DMI entry for the board to enable it.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index f636b5ba5..9dcb98160 100644
@@ -731,6 +731,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "8A22"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+			DMI_MATCH(DMI_BOARD_NAME, "8D22"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Alen Tišljar

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

The HP 255R 15.6 inch G10 Notebook PC (board 8D22, Ryzen 7 7735U) has an internal DMIC connected to the ACP6x. Without a quirk entry the acp6x machine driver doesn't register a card and the internal microphone doesn't work.

Add a DMI entry for the board to enable it.

Quoted 24 lines
---
  sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
  1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -1
index f636b5ba5..9dcb98160 100644
@@ -731,6 +731,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                         DMI_MATCH(DMI_BOARD_NAME, "8A22"),
                 }
         },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_BOARD_NAME, "8D22"),
+               }
+       },
         {
                 .driver_data = &acp6x_card,
                 .matches = {
--

2.53.0