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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>From bfe53271fce81b87b8a0ff63c94f05
dba2f39d43 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`

Signed-off-by: Sukai Huang <sukaih@xxxxxxxxxxxxxxxxxxxxxx>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

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 = {
--

On Thu, Mar 28, 2024 at 1:18 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Wed, Mar 27, 2024 at 10:48:16AM +1100, Sukai Huang wrote:
> > 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@xxxxxxxxxxxxxxxxxxxxxx>
> > ---
>
> Sorry, for licensing reasons you need to add a Signed-off-by here (see
> submitting-patches.rst for an explanation of what that's about).






[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux