Skip to contentSkip to conversation

ASoC: amd: yc: Enable internal mic on MSI Bravo 17 C7VF

PATCH In review João Miguel 3 participants 3 messages Jun 1 – Jun 2

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: amd: yc: Enable internal mic on MSI Bravo 17 C7VF

The MSI Bravo 17 C7VF routes its internal digital microphone through the ACP6x. The machine driver only enables the DMIC for boards present in the DMI quirk table, so on this model the internal mic is never detected and no capture device is created.

Add a quirk entry matching the board's DMI identifiers so the DMIC is enabled and the internal microphone works.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 7a637d6b5..a93a7fd48 100644
@@ -794,6 +794,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "M7601RM"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+			DMI_MATCH(DMI_BOARD_NAME, "MS-17LN"),
+		}
+	},
 	{}
 };
 
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 4 lines · João Miguel

The MSI Bravo 17 C7VF routes its internal digital microphone through the ACP6x. The machine driver only enables the DMIC for boards present in the DMI quirk table, so on this model the internal mic is never detected and no capture device is created.

This doesn't apply against current code, please check and resend.

#2 lore raw

Hi João,

Quoted 8 lines · Mark Brown
Quoted 4 lines · João Miguel

The MSI Bravo 17 C7VF routes its internal digital microphone through the ACP6x. The machine driver only enables the DMIC for boards present in the DMI quirk table, so on this model the internal mic is never detected and no capture device is created.

This doesn't apply against current code, please check and resend.

I see your patch was already applied by Mark in the original thread.

Just a reminder for your next submissions: when resending patches please mark them clearly as [PATCH RESEND] so that it does not confuse the maintainers.

Thanks,
Geraldo Nascimento