Skip to contentSkip to conversation

ASoC: amd: yc: add quirk for Acer Nitro AN17-41 internal mic

PATCH In review Aaron Welwood 2 participants 2 messages Sep 7

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

PATCH 1/1 ASoC: amd: yc: add quirk for Acer Nitro AN17-41 internal mic

The Acer Nitro AN17-41 uses "RB" as its board vendor and has no entry in yc_acp_quirk_table, so acp6x_probe() finds no DMI match, registers no card, and the internal digital microphone records only silence.

Add a quirk entry for it so the DMIC is enabled.

---
Tested on an Acer Nitro AN17-41 (board Spacia_PEH, BIOS V1.26). Without this entry acp6x_probe() returns -ENODEV and the internal DMIC records silence; with it the acp6x card registers and the microphone captures normally.

 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 21d7ec0..65c4d13 100644
@@ -388,6 +388,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-41"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "RB"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro AN17-41"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 1 line · Aaron Welwood

ASoC: amd: yc: add quirk for Acer Nitro AN17-41 internal mic

Applied to

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

Thanks!

[1/1] ASoC: amd: yc: add quirk for Acer Nitro AN17-41 internal mic

      https://git.kernel.org/broonie/sound/c/22728415a9cc

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