public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table
@ 2022-09-20 17:13 Mario Limonciello
  2022-09-20 18:08 ` Mark Brown
  2022-09-21  9:23 ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Mario Limonciello @ 2022-09-20 17:13 UTC (permalink / raw)
  To: mario.limonciello, linux-kernel
  Cc: Xiaoyan Li, Syed Saba Kareem, Sebastian S, Travis Glenn Hansen,
	Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	alsa-devel

Lenovo Yoga Slim 7 Pro X has an ACP DMIC that isn't specified in the
ASL or existing quirk list.  Add it to the quirk table to let DMIC
work on these systems.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216299
Tested-by: Sebastian S <iam@decentr.al>
Reporetd-and-tested-by: Travis Glenn Hansen <travisghansen@yahoo.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
This patch applies on top of the other patch introducing a quirk:
	https://lore.kernel.org/alsa-devel/20220917070847.14346-1-lxy.lixiaoyan@gmail.com/
If either of them need to change, we should roll both into a series.

 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 5eab3baf3573..2cb50d5cf1a9 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21J6"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "82"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-21  9:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-20 17:13 [PATCH] ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table Mario Limonciello
2022-09-20 18:08 ` Mark Brown
2022-09-20 18:09   ` Limonciello, Mario
2022-09-20 18:50     ` Mark Brown
2022-09-20 18:56       ` Limonciello, Mario
2022-09-20 19:08         ` Mark Brown
2022-09-21  9:23 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox