* [PATCH 6.1+] ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
@ 2024-11-11 7:08 WangYuli
2024-11-12 8:30 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: WangYuli @ 2024-11-11 7:08 UTC (permalink / raw)
To: stable, gregkh, sashal
Cc: jeffbai, broonie, wangyuli, lgirdwood, perex, tiwai,
mario.limonciello, me, end.to.start, linux-sound, linux-kernel
From: Mingcong Bai <jeffbai@aosc.io>
[ Upstream commit de156f3cf70e17dc6ff4c3c364bb97a6db961ffd ]
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 <jeffbai@aosc.io>
Link: https://patch.msgid.link/20241106024052.15748-1-jeffbai@aosc.io
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 76f5d926d1ea..e027bc1d35f4 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -381,6 +381,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 15 2022"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "TIMI"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14 2022"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 6.1+] ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
2024-11-11 7:08 [PATCH 6.1+] ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022 WangYuli
@ 2024-11-12 8:30 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-11-12 8:30 UTC (permalink / raw)
To: WangYuli
Cc: stable, sashal, jeffbai, broonie, lgirdwood, perex, tiwai,
mario.limonciello, me, end.to.start, linux-sound, linux-kernel
On Mon, Nov 11, 2024 at 03:08:04PM +0800, WangYuli wrote:
> From: Mingcong Bai <jeffbai@aosc.io>
>
> [ Upstream commit de156f3cf70e17dc6ff4c3c364bb97a6db961ffd ]
>
> 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 <jeffbai@aosc.io>
> Link: https://patch.msgid.link/20241106024052.15748-1-jeffbai@aosc.io
> Signed-off-by: Mark Brown <broonie@kernel.org>
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
> ---
> sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
> 1 file changed, 7 insertions(+)
Now queued up, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-12 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 7:08 [PATCH 6.1+] ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022 WangYuli
2024-11-12 8:30 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox