public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sven Frotscher <sven.frotscher@gmail.com>
To: broonie@kernel.org
Cc: git@augustwikerfors.se, alsa-devel@alsa-project.org,
	lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
	mario.limonciello@amd.com, regressions@lists.linux.dev
Subject: [PATCH v2] ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
Date: Wed, 27 Sep 2023 21:35:12 +0200	[thread overview]
Message-ID: <O2TN1S.57QJOL6TXOBC1@gmail.com> (raw)


Like the Lenovo 82TL, 82V2, 82QF and 82UG, the 82YM (Yoga 7 14ARP8)
requires an entry in the quirk list to enable the internal microphone.
The latter two received similar fixes in commit 1263cc0f414d.

Fixes: c008323fe361 ("ASoC: amd: yc: Fix a non-functional mic on Lenovo 
82SJ")
Cc: stable@vger.kernel.org
Signed-off-by: Sven Frotscher <sven.frotscher@gmail.com>
---
v1->v2 changes:
* add Fixes and Cc tags to commit message
* remove redundant LKML link from commit message
* fix mangled diff

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 3d8a51351e29..e3d2b9d01552 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -241,6 +241,13 @@ static const struct dmi_system_id 
yc_acp_quirk_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "82V2"),
 	}
 	},
+	{
+	.driver_data = &acp6x_card,
+	.matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "82YM"),
+	}
+	},
 	{
 	.driver_data = &acp6x_card,
 	.matches = {
--
2.42.0




             reply	other threads:[~2023-09-27 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 19:35 Sven Frotscher [this message]
2023-09-27 20:19 ` [PATCH v2] ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM August Wikerfors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=O2TN1S.57QJOL6TXOBC1@gmail.com \
    --to=sven.frotscher@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=git@augustwikerfors.se \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox