diff mbox series

Request to Add DMI Quirk for Lenovo IdeaPad Pro 5 16AHP9

Message ID CAE1pm7OGBNgpqOJg4DSLLd7g3JDm4iYRWGvJYkTBjHGUHF+2LA@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series Request to Add DMI Quirk for Lenovo IdeaPad Pro 5 16AHP9 | expand

Commit Message

Sukai Huang March 27, 2024, 2:08 a.m. UTC
this is a forward email due to HTML message rejection previously

---------- Forwarded message ---------
From: Sukai Huang <sukaih@student.unimelb.edu.au>
Date: Wed, Mar 27, 2024 at 10:48 AM
Subject: Re: Request to Add DMI Quirk for Lenovo IdeaPad Pro 5 16AHP9
To: Mark Brown <broonie@kernel.org>
Cc: <linux-sound@vger.kernel.org>


From bfe53271fce81b87b8a0ff63c94f05dba2f39d43 Mon Sep 17 00:00:00 2001
Date: Wed, 27 Mar 2024 10:23:23 +1100
Subject: Request to ASoC: amd: yc: Fix non-functional mic on Lenovo 83D5

Like many other models, the Lenovo 83D5 (IdeaPad Pro 5 16AHP9) needs a
quirk entry for the internal microphone to function. Once added, DMIC
capture dmic-hifi-0 device can be found by `arecord -l`

Reported by: Sukai Huang <sukaih@student.unimelb.edu.au>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 69c68d8e7a6b..a3fd83494e5a 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -269,6 +269,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
  DMI_MATCH(DMI_PRODUCT_NAME, "83AS"),
  }
  },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83D5"),
+ }
+ },
  {
  .driver_data = &acp6x_card,
  .matches = {