ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU

Message ID 20240210193638.144028-1-attitokes@gmail.com
State New
Headers
Series ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU |

Commit Message

Attila Tőkés Feb. 10, 2024, 7:36 p.m. UTC
  Like many other models, the Lenovo 82UU (Yoga Slim 7 Pro 14ARH7)
needs a quirk entry for the internal microphone to function.

Cc: stable@vger.kernel.org
Signed-off-by: Attila Tőkés <attitokes@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
  

Comments

Mark Brown Feb. 12, 2024, 9:22 p.m. UTC | #1
On Sat, 10 Feb 2024 21:36:38 +0200, Attila Tőkés wrote:
> Like many other models, the Lenovo 82UU (Yoga Slim 7 Pro 14ARH7)
> needs a quirk entry for the internal microphone to function.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU
      commit: f7fe85b229bc30cb5dc95b4e9015a601c9e3a8cd

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
  

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 23d44a50d815..864976a81393 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -234,6 +234,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "82UG"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "82UU"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {