From patchwork Wed Sep 27 19:35:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Frotscher X-Patchwork-Id: 13405008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A633E7735F for ; Sat, 30 Sep 2023 08:12:44 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 987CA131A; Sat, 30 Sep 2023 10:11:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 987CA131A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696061562; bh=XcKcx1P3dkEvRJFLj6Dk/MrHQejwFEeYURAcp+nsFow=; h=Date:From:Subject:To:Cc:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=eoHmBJMeC4rMTLdHkvYhF4Fox0yNViXLZTXv04S8s22lMtM1TMwTrmALJZIx2OQP6 d/HVgojFWjJKpwxV5Kci0w3gLfzw+36J2/mMSUkz1eJm+1MyCWVZVzDyBTAtXpChOM thvJXghwVEVogU85yEQRdSuus1NQbGHYCu8/ZezY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9A975F805A8; Sat, 30 Sep 2023 10:09:32 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id EADBBF8056F; Sat, 30 Sep 2023 10:09:31 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6562EF8016A; Wed, 27 Sep 2023 21:35:28 +0200 (CEST) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DD122F8007C for ; Wed, 27 Sep 2023 21:35:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DD122F8007C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Mm5bzzlB Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3215f19a13aso11710775f8f.3 for ; Wed, 27 Sep 2023 12:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695843319; x=1696448119; darn=alsa-project.org; h=mime-version:message-id:cc:to:subject:from:date:from:to:cc:subject :date:message-id:reply-to; bh=b/kwHgGSPER833mfnZsloSnG2/QVneER5ld9wWGGfCM=; b=Mm5bzzlBtVxy3y5cdJhgMJ4m0eryTsxIV6y6q1Qq65BGoQtVl4DY2QVYlgt7Z9GJMX Y3KXI/7mALF8KJfZcS3Hls8ynpM4HvHFiZLmOkMz1IXbvk5i6uKIAjIAXSTSfZM5MvRt uTCZ5I6g9DNeAY8FkfuSlhG4G3oZlX8jCap0V6z5w73gsoXmpMiHuguERiNvScBfaa7w rpB8A/qJPTJxA/U0ZORxAfPE7kdvt971hWPm/ws0gvj0KdY2KGnsIo2tboblFuazqcKN kQQbnhA/iXpuzRJqtj/bJuDrFWSekgDWT+IYNHSoc+iap18fTTzjz5nD0voGEn0hhKVx J3YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695843319; x=1696448119; h=mime-version:message-id:cc:to:subject:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b/kwHgGSPER833mfnZsloSnG2/QVneER5ld9wWGGfCM=; b=LoxHGHExJJNkd5i0RdHOfHm1meVuS4L9R7pwd8ggYbW0NmsW+wTqYv3oMg5bRhr7Ma p5kTSNBBx9p21r9ooirBVqCL+YJS1VllIejabXaBtuoUmqc1LduM2bgNbo/7MeIKUuO/ /9VDQVDZnlhhNN/ZvL65253SadAlLMxOjanwDJRSxERP8IzVKj/ak32WtOMnAPJb5b0i yfy+y6xQBHXfNm9+lN/FcjyzPcjdezIzuGhk1h4Zl843fdOhkrN2VL3+CpGQycMoHBW5 cLkdzr6xn4CQdlCApNxqf9lJpbDl9Qn3XFACAI3x26LLifBT68gLebtPq5/CmXqudPkM n1jw== X-Gm-Message-State: AOJu0YznXfKa/u21hwyODBXk7ZalazqpFrIDkQKHiv7MgMKyeGZb7z6Y W7Hj3JoO+wX5oKVASBBTyX0= X-Google-Smtp-Source: AGHT+IHl9dYpXN9XqXHiG6al2NGt7W95zzeD9nIMVhn3PlsdI/RctpeCZKJ/BoF5mQLG7aW3oIiarw== X-Received: by 2002:a05:6000:1112:b0:321:6a61:e45a with SMTP id z18-20020a056000111200b003216a61e45amr3040357wrw.15.1695843319317; Wed, 27 Sep 2023 12:35:19 -0700 (PDT) Received: from yoga ([2001:638:904:ffe5:5742:c50f:bd0:6aa6]) by smtp.gmail.com with ESMTPSA id m4-20020adff384000000b00321673de0d7sm2379099wro.25.2023.09.27.12.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 12:35:18 -0700 (PDT) Date: Wed, 27 Sep 2023 21:35:12 +0200 From: Sven Frotscher Subject: [PATCH v2] ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM To: broonie@kernel.org Cc: git@augustwikerfors.se, alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, mario.limonciello@amd.com, regressions@lists.linux.dev Message-Id: X-Mailer: geary/44.1 MIME-Version: 1.0 X-MailFrom: sven.frotscher@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: AXZ4F4664ZU6NGZJO7SIGVIT65NEN4FS X-Message-ID-Hash: AXZ4F4664ZU6NGZJO7SIGVIT65NEN4FS X-Mailman-Approved-At: Sat, 30 Sep 2023 08:09:27 +0000 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Like the Lenovo 82TL, 82V2, 82QF and 82UG, the 82YM (Yoga 7 14ARP8) requires an entry in the quirk list to enable the internal microphone. The latter two received similar fixes in commit 1263cc0f414d. Fixes: c008323fe361 ("ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ") Cc: stable@vger.kernel.org Signed-off-by: Sven Frotscher --- v1->v2 changes: * add Fixes and Cc tags to commit message * remove redundant LKML link from commit message * fix mangled diff sound/soc/amd/yc/acp6x-mach.c | 7 +++++++ 1 file changed, 7 insertions(+) .matches = { -- 2.42.0 diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index 3d8a51351e29..e3d2b9d01552 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -241,6 +241,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "82V2"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "82YM"), + } + }, { .driver_data = &acp6x_card,