diff mbox series

ASoC: amd: yc: fix internal mic on Redmi G 2022

Message ID ZzjrZY3sImcqTtGx@RedmiG (mailing list archive)
State Accepted
Commit 67a0463d339059eeeead9cd015afa594659cfdaf
Headers show
Series ASoC: amd: yc: fix internal mic on Redmi G 2022 | expand

Commit Message

Alex Far Nov. 16, 2024, 6:58 p.m. UTC
This laptop model requires an additional detection quirk to enable the 
internal microphone

Signed-off-by: Alex Far <anf1980@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Mark Brown Nov. 18, 2024, 4:56 p.m. UTC | #1
On Sat, 16 Nov 2024 21:58:45 +0300, Alex Far wrote:
> This laptop model requires an additional detection quirk to enable the
> internal microphone
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: amd: yc: fix internal mic on Redmi G 2022
      commit: 67a0463d339059eeeead9cd015afa594659cfdaf

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
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 2436e8deb2be..c33ad161b139 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -409,6 +409,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14 2022"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "TIMI"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Redmi G 2022"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {