Skip to content

Commit 7f6c3c7

Browse files
MingcongBaigregkh
authored andcommitted
ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
commit de156f3cf70e17dc6ff4c3c364bb97a6db961ffd upstream. Xiaomi Book Pro 14 2022 (MIA2210-AD) requires a quirk entry for its internal microphone to be enabled. This is likely due to similar reasons as seen previously on Redmi Book 14/15 Pro 2022 models (since they likely came with similar firmware): - commit dcff8b7ca92d ("ASoC: amd: yc: Add Xiaomi Redmi Book Pro 15 2022 into DMI table") - commit c1dd6bf61997 ("ASoC: amd: yc: Add Xiaomi Redmi Book Pro 14 2022 into DMI table") A quirk would likely be needed for Xiaomi Book Pro 15 2022 models, too. However, I do not have such device on hand so I will leave it for now. Signed-off-by: Mingcong Bai <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: WangYuli <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7bce2c7 commit 7f6c3c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sound/soc/amd/yc/acp6x-mach.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
339339
DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 15 2022"),
340340
}
341341
},
342+
{
343+
.driver_data = &acp6x_card,
344+
.matches = {
345+
DMI_MATCH(DMI_BOARD_VENDOR, "TIMI"),
346+
DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14 2022"),
347+
}
348+
},
342349
{
343350
.driver_data = &acp6x_card,
344351
.matches = {

0 commit comments

Comments
 (0)