Skip to contentSkip to conversation

ASoC: amd: acp: Add Lenovo IdeaPad Slim 5 16AKP10 to ACP70 override table

PATCH New Markus Paltian 1 participant 1 message Nov 23

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

PATCH 1/1 ASoC: amd: acp: Add Lenovo IdeaPad Slim 5 16AKP10 to ACP70 override table

The internal mic of the Lenovo IdeaPad Slim 5 16AKP10 (83HY) is wired to the Conexant SN6140 HDA codec, but the BIOS still sets the ACP ACPI config flag. Add 83HY to the override table, as for the Lenovo models 83W5, 83V9, 83HN and 83Q6.

---
Tested on an IdeaPad Slim 5 16AKP10 (83HY) by loading the patched snd-acp-config module on 7.2.12: snd_acp_pci no longer binds to the ACP, the dead acppdmmach card is gone and the internal microphone on the SN6140 codec works without blacklisting snd_acp_pci.

 sound/soc/amd/acp-config.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/acp-config.c +7 -0
index 93c9a11..e2cb6e6 100644
@@ -72,6 +72,13 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "83Q6"),
 		},
 	},
+	{
+		/* Lenovo IdeaPad Slim 5 16AKP10 (Krackan Point, ACP 7.0) */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83HY"),
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC"),
Signature · 1 line
2.53.0