Skip to contentSkip to conversation

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

PATCH In review Alen Tišljar 3 participants 3 messages Nov 24 – Nov 26

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

maintainer
#2 lore raw
In reply to Alen Tišljar
Quoted 1 line · Alen Tišljar

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

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4

Thanks!

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

      https://git.kernel.org/broonie/sound/c/b4378764a589

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark