From patchwork Thu Mar 9 06:13:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: lainme X-Patchwork-Id: 13166844 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 03C52C61DA4 for ; Thu, 9 Mar 2023 06:50:41 +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 B449618AA; Thu, 9 Mar 2023 07:49:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B449618AA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1678344639; bh=N8yU4MgkQUXD/16Yw5rwviWIDdztTKlT8jk7lcow0XE=; h=Date:From:To:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=PdTtoW3AnqckybpMbhQ30cpvTX0IsfB/+GARhkYvzkWX6tG5jrRAqDmcsuVg23ZFB wb9sxui7r6M1XqEjcYLL4cMwTzXCx7FKgFmbEw+tc+78nJaBvvpAHOSRbCgLg35Cw1 sfzmCND93kcfvF2L3TCnOm0EzUVgl9tqOA86ux4w= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E7798F8007E; Thu, 9 Mar 2023 07:49:26 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5BC4AF8042F; Thu, 9 Mar 2023 07:15:11 +0100 (CET) Received: from out203-205-221-153.mail.qq.com (out203-205-221-153.mail.qq.com [203.205.221.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BBC1EF8007E for ; Thu, 9 Mar 2023 07:14:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BBC1EF8007E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=foxmail.com header.i=@foxmail.com header.a=rsa-sha256 header.s=s201512 header.b=UHCpqmwW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1678342489; bh=Ih8hxsnc002Wus2lqmpY9Y4+z1DCJiui0rFdj/YF7II=; h=Date:From:To:Subject; b=UHCpqmwWX1n+TXrgKCy8mLi1IjZ1qTZhC+Ib4JyGnkdqNcqCAV/d+HvR6TgnQ2nfE +6FExM6XRfEZyRXi+mGJeaH7jjMtkh0C4I11x624gOZT2zg5z1MA3+0MtUa3CskCyR O2LvdLM4bXQj1Q3JD+hg4ozA6JxJsHx0pJdoRuBU= Received: from comp-station ([1.83.125.28]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id 366B587D; Thu, 09 Mar 2023 14:13:38 +0800 X-QQ-mid: xmsmtpt1678342418twmsosqlv Message-ID: X-QQ-XMAILINFO: OKkKo7I1HxIeMziesZcbSxdBu6aq9F2P2coBgWIu73MKwXgIP3P+apDybTYJV3 9q9cXq6MtDY8hK6Y5NgH2wKZK50g43aTvG/PFSHz8o0uq6brm3YsrOlm6/CrGkyF6ChIdvl4US8w TGPokcOVNiPaFG7tluwqXch31mg/hrs18+AjZ23vOL8tNK9LrWtYPmDEmH5AnAeF+rQN6Q9B2Yiv LqE3VlmK+7inGrE+mtXKClhv//nbf09jBOOY5O8Twjxoy0ncdkb/tUdV3IJvQSVcl/gouni0LiGR DBBn3hIbo4JA8CF0bbW9/YBMYjj8ImM6yxAUVv0gDjq1TJqXtzH7Tn0HTvYqHh8Kdeh2qgVmCZ2C dGDb8juPX08Lq5Verpwqjss5NAxdIFKKcXZqALLrFnJpm8TXzxhHzRaH3DJGgMvsfXDrMKmQRxh2 8f/FK9QlkesraXBhNPEiMofkdnE63T2PWWsSd6wdfzOxISzreQj26yBBZOTgWucuwWbke1GdUBIi 9FWs+QkkD3mhnpvwzUqCBYTioJG6NAsuF3LlxPi0Tlh6PgLIv8Jy56D7s6Ft1lfQDZpDeciCBybr VyKI3WvdA1rAr5YHGG0EPhC3GUxYjKBDYMFERcx7eqJ084M4LDaOSf5uk8wfP8WhXoQ4c9mO3pt3 DAztE+AQPZ5uoDq00z3uywf6n7e/KI/TJBicnWytf3pOEDnb3+6jCuLk+rZMOBNwbpw/23N2dS9J YK3FXjbjn8XCIcQHjfLE8pZTWvmzAdX7NZY5hbddXAyRPuYW2kc844z6p2tPtghOmOTAqB+MdMIC wnCUoW6olm5CfZaP4hQacjwGkj6DcyeVvnIdjBcZrJ5Qqp+1PWBCptbUcev/WFEIsjlCWTxJjN0x x0RddmVadkX0bHi/C82Fz9Hq18O9mOd9s5lIG/wqd+XSx5F3Xa3PNTOo/JYugbIa5ap5zdzv6LOx 4PhrpZhsM= Date: Thu, 9 Mar 2023 14:13:38 +0800 From: lainme To: " =?utf-8?q?alsa-devel=40alsa-project=2Eorg?= " X-OQ-MSGID: <97A26EC9-DF09-4DF6-8333-102251F91185@getmailspring.com> Subject: Patch to make the built-in microphone of ThinkPad Neo 14 (21EFA000CD) work X-Mailer: Mailspring MIME-Version: 1.0 X-MailFrom: lainme@foxmail.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: N5IEVHDVQB7UMRZLPOVCRFPGZPPLKWBW X-Message-ID-Hash: N5IEVHDVQB7UMRZLPOVCRFPGZPPLKWBW X-Mailman-Approved-At: Thu, 09 Mar 2023 06:49:22 +0000 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 3.3.8 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: Hi, The built-in microphone of ThinkPad Neo 14 (21EFA000CD) doesn't work with kernel 6.2.2, and the following patch can fix this issue. Here the relevant bug report: https://bugzilla.kernel.org/show_bug.cgi?id=216925 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -49,6 +49,13 @@ .driver_data = &acp6x_card, .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "21EF0002CD"), + } + }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), DMI_MATCH(DMI_PRODUCT_NAME, "21D0"), } },