summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Far <anf1980@gmail.com>2024-11-16 21:58:45 +0300
committerMark Brown <broonie@kernel.org>2024-11-18 15:10:56 +0000
commit67a0463d339059eeeead9cd015afa594659cfdaf (patch)
tree47276138d8683b6e30ed60af5f49755992e2911c
parent82ff5abc2edcfba0c0f1a1be807795e2876f46e9 (diff)
ASoC: amd: yc: fix internal mic on Redmi G 2022
This laptop model requires an additional detection quirk to enable the internal microphone Signed-off-by: Alex Far <anf1980@gmail.com> Link: https://patch.msgid.link/ZzjrZY3sImcqTtGx@RedmiG Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/yc/acp6x-mach.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 2436e8deb2be..1b9834ee5d46 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -412,6 +412,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
{
.driver_data = &acp6x_card,
.matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "TIMI"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Redmi G 2022"),
+ }
+ },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Razer"),
DMI_MATCH(DMI_PRODUCT_NAME, "Blade 14 (2022) - RZ09-0427"),
}