lkml.org 
[lkml]   [2024]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 6.7 19/23] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2
    Date
    From: Jiawei Wang <me@jwang.link>

    [ Upstream commit ed00a6945dc32462c2d3744a3518d2316da66fcc ]

    Like many other models, the Lenovo 21J2 (ThinkBook 16 G5+ APO)
    needs a quirk entry for the internal microphone to function.

    Signed-off-by: Jiawei Wang <me@jwang.link>
    Link: https://msgid.link/r/20240228073914.232204-2-me@jwang.link
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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 17c8ff7558694..de0d399eae8c4 100644
    --- a/sound/soc/amd/yc/acp6x-mach.c
    +++ b/sound/soc/amd/yc/acp6x-mach.c
    @@ -199,6 +199,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
    DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
    }
    },
    + {
    + .driver_data = &acp6x_card,
    + .matches = {
    + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
    + DMI_MATCH(DMI_PRODUCT_NAME, "21J2"),
    + }
    + },
    {
    .driver_data = &acp6x_card,
    .matches = {
    --
    2.43.0

    \
     
     \ /
      Last update: 2024-05-27 15:44    [W:4.145 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site