diff mbox series

ASoC: amd: yc: Update DMI table entries

Message ID 20220722134603.316668-1-Syed.SabaKareem@amd.com
State Accepted
Commit be0aa8d4b0fcb4532bf7973141e911998ab39508
Headers show
Series ASoC: amd: yc: Update DMI table entries | expand

Commit Message

Saba Kareem, Syed July 22, 2022, 1:45 p.m. UTC
Removed intel DMI product id's 21AW/21AX/21D8/21D9/21BN/21BQ
in DMI table and updated DMI entry for AMD platform X13 Gen 3
platform 21CM/21CN.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216267

Signed-off-by: syed sabakareem <Syed.SabaKareem@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 32 ++------------------------------
 1 file changed, 2 insertions(+), 30 deletions(-)

Comments

Takashi Iwai July 22, 2022, 2:49 p.m. UTC | #1
On Fri, 22 Jul 2022 16:46:40 +0200,
Limonciello, Mario wrote:
> 
> [Public]
> 
> > -----Original Message-----
> > From: syed sabakareem <Syed.SabaKareem@amd.com>
> > Sent: Friday, July 22, 2022 08:46
> > To: broonie@kernel.org; alsa-devel@alsa-project.org
> > Cc: Mukunda, Vijendar <Vijendar.Mukunda@amd.com>; Deucher,
> > Alexander <Alexander.Deucher@amd.com>; Hiregoudar, Basavaraj
> > <Basavaraj.Hiregoudar@amd.com>; Dommati, Sunil-kumar <Sunil-
> > kumar.Dommati@amd.com>; markpearson@lenovo.com; Limonciello, Mario
> > <Mario.Limonciello@amd.com>; Saba Kareem, Syed
> > <Syed.SabaKareem@amd.com>; Liam Girdwood <lgirdwood@gmail.com>;
> > Jaroslav Kysela <perex@perex.cz>; Takashi Iwai <tiwai@suse.com>;
> > Mukunda, Vijendar <Vijendar.Mukunda@amd.com>; open list <linux-
> > kernel@vger.kernel.org>
> > Subject: [PATCH] ASoC: amd: yc: Update DMI table entries
> > 
> > Removed intel DMI product id's 21AW/21AX/21D8/21D9/21BN/21BQ
> > in DMI table and updated DMI entry for AMD platform X13 Gen 3
> > platform 21CM/21CN.
> > 
> > Link: https://bugzilla.kernel.org/show_bug.cgi?id=216267
> 
> Syed thanks for the quick patch on this issue.
> I just noticed one more tag to add for the reporter of this that Mark can pick up when he pulls this in.
> 
> Reported-by: David Korth <gerbilsoft@gerbilsoft.com>
> 
> Also suggest Mark this to consider to pull back to @stable, mostly because of the X13 IDs missing.

Put Fixes tag pointing to the commit ID that introduced the issue in
addition to Cc-to-stable tag in the patch.  This makes it easier to be
picked up for stable trees.


thanks,

Takashi
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index f06e6c1a7799..ecfe7a790790 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -105,28 +105,14 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 		.driver_data = &acp6x_card,
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21AW"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21CM"),
 		}
 	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21AX"),
-		}
-	},
-	{
-		.driver_data = &acp6x_card,
-		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21BN"),
-		}
-	},
-	{
-		.driver_data = &acp6x_card,
-		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21BQ"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21CN"),
 		}
 	},
 	{
@@ -157,20 +143,6 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21CL"),
 		}
 	},
-	{
-		.driver_data = &acp6x_card,
-		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21D8"),
-		}
-	},
-	{
-		.driver_data = &acp6x_card,
-		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "21D9"),
-		}
-	},
 	{}
 };