diff mbox series

ASoC: amd: yc: Support mic on another Lenovo ThinkPad E16 Gen 2 model

Message ID 20250308041303.198765-1-thomasmizra@gmail.com (mailing list archive)
State Accepted
Commit 0704a15b930cf97073ce091a0cd7ad32f2304329
Headers show
Series ASoC: amd: yc: Support mic on another Lenovo ThinkPad E16 Gen 2 model | expand

Commit Message

Thomas Mizrahi March 8, 2025, 4:06 a.m. UTC
The internal microphone on the Lenovo ThinkPad E16 model requires a
quirk entry to work properly. This was fixed in a previous patch (linked
below), but depending on the specific variant of the model, the product
name may be "21M5" or "21M6".

The following patch fixed this issue for the 21M5 variant:
  https://lore.kernel.org/all/20240725065442.9293-1-tiwai@suse.de/

This patch adds support for the microphone on the 21M6 variant.

Link: https://github.com/ramaureirac/thinkpad-e14-linux/issues/31
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Mizrahi <thomasmizra@gmail.com>
---
I recently acquired a ThinkPad E16 Gen 2 AMD and could not get the internal
microphone working. After some research, I discovered this issue. Since my
machine is a 21M6 variant, the required quirk was not applied by the
existing patch. After applying this patch and testing on my machine, the
microphone was immediately recognized and worked without further issues.

 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Mark Brown March 10, 2025, 1:25 a.m. UTC | #1
On Sat, 08 Mar 2025 01:06:28 -0300, Thomas Mizrahi wrote:
> The internal microphone on the Lenovo ThinkPad E16 model requires a
> quirk entry to work properly. This was fixed in a previous patch (linked
> below), but depending on the specific variant of the model, the product
> name may be "21M5" or "21M6".
> 
> The following patch fixed this issue for the 21M5 variant:
>   https://lore.kernel.org/all/20240725065442.9293-1-tiwai@suse.de/
> 
> [...]

Applied to

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

Thanks!

[1/1] ASoC: amd: yc: Support mic on another Lenovo ThinkPad E16 Gen 2 model
      commit: 0704a15b930cf97073ce091a0cd7ad32f2304329

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
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index b16587d8f97a..a7637056972a 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -248,6 +248,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21M5"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21M6"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {