linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
@ 2024-01-29  8:11 Bagas Sanjaya
  2024-01-29 18:13 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Bagas Sanjaya @ 2024-01-29  8:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Sound System
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Jeremy Soller, Mario Limonciello, Techno Mooney, stable,
	Bagas Sanjaya

From: Techno Mooney <techno.mooney@gmail.com>

The laptop requires a quirk ID to enable its internal microphone. Add
it to the DMI quirk table.

Reported-by: Techno Mooney <techno.mooney@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218402
Cc: stable@vger.kernel.org
Signed-off-by: Techno Mooney <techno.mooney@gmail.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 I'm not sure about reporter's identity (which also authored the quirk
 patch), hence I derived his name instead.

 Techno Mooney: is it OK to use above Reported-by: identity as-is?
 Developers: In this case, is it better to just use
 `Reported-by: <reporter's email>`?

 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 d83cb6e4c62aec..23d44a50d81572 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -297,6 +297,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 B7ED"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 C7VF"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {

base-commit: aa8e3ef4fe5332c2ce33507e874b20d9c0077c21
-- 
An old man doll... just what I always wanted! - Clara


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

end of thread, other threads:[~2024-01-29 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29  8:11 [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF Bagas Sanjaya
2024-01-29 18:13 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).