From mboxrd@z Thu Jan 1 00:00:00 1970 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 6C285E7AD58 for ; Tue, 3 Oct 2023 15:05:48 +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 13973844; Tue, 3 Oct 2023 17:04:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 13973844 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696345546; bh=CPfWUJJWFpLHcomvLp2yeLVl3p8vBkO0FtA5j0Nemhs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=UiQrCn96E6LHMByBiu/fpREeZ3SRytz2qHlqi35olTH3T2XRytWfSuVEgjGlTEBOo r9QuJPPAdie2FntQJHGHpkUsqAvPmbk4EqFELdeUKAoZW/sUXxa/l2ektLXlhq+BGw I5yYvX0HHMx2Qvjxy7VP6xrFe2A06pfoSKeoH/X8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 87D2AF80557; Tue, 3 Oct 2023 17:04:55 +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 38AA5F8047D; Tue, 3 Oct 2023 17:04:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3069FF8047D; Tue, 3 Oct 2023 17:04:50 +0200 (CEST) Received: from mail.meier-coaching.de (mail.epic-bytes.net [45.83.105.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 7AEDBF801EB for ; Tue, 3 Oct 2023 17:04:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7AEDBF801EB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=epic-bytes.net header.i=@epic-bytes.net header.a=rsa-sha256 header.s=2020 header.b=JFq/ZLqS From: Markus Meier DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epic-bytes.net; s=2020; t=1696345466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qVteM+WyhCWgGKmgpjhnWHSPzBzizjYf1Mb5ewbwwLc=; b=JFq/ZLqSlpnnLU/2G+6t7Dy+lzyi4pGx2eX+ogWFbWuAhW/uq0i4OmT6EK4Y0CIQ9G9myM rws652AqnFxfjAxYIDyrAZA7WQkSoavZyRPzRvzqWGxjnsrk2V6GjQhyzq+x68+/a+TkvO qa95ohwhQ3xdv2GeS5unOhTAGIYh5Fej8XoTlA6zy5VadG+3PvxqXYVt6LK8aToYnaSagL CL8w6plrNuFPm9FaSPk7MvNX0qM8/JLKPbKDuCnb6ywGQWMObOOu4sSP58hPb9SxplVJoQ GUFmWgsPnd2DSa3OEhG7eDCndatFHxo6pdzjtZLfEJID0dpjNiwT/JlR1pXN9Q== Authentication-Results: ORIGINATING; auth=pass smtp.auth=markus smtp.mailfrom=kerneldev@epic-bytes.net To: Markus Meier , alsa-devel@alsa-project.org, Linux regressions mailing list Cc: Linux kernel regressions list , LKML , Mario Limonciello , Mark Brown , Sven Frotscher , August Wikerfors Subject: Re: [PATCH] ASoC: amd: yc: Fix non-functional mic on Lenovo Yoga Slim 7 Pro 14ARH7 82UU Date: Tue, 03 Oct 2023 17:04:25 +0200 Message-ID: <4836369.GXAFRqVoOG@mobile> In-Reply-To: References: <10347605.nUPlyArG6x@kali> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1865545.tdWV9SEqCh"; micalg="pgp-sha512"; protocol="application/pgp-signature" Message-ID-Hash: FJDA7PEEASUPU67DTLBCLF53O33CXGQ6 X-Message-ID-Hash: FJDA7PEEASUPU67DTLBCLF53O33CXGQ6 X-MailFrom: kerneldev@epic-bytes.net 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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: --nextPart1865545.tdWV9SEqCh Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Markus Meier Date: Tue, 03 Oct 2023 17:04:25 +0200 Message-ID: <4836369.GXAFRqVoOG@mobile> In-Reply-To: MIME-Version: 1.0 Am Dienstag, 3. Oktober 2023, 12:24:56 CEST schrieben Sie: > On 02.10.23 23:04, Markus Meier wrote: > > I own a Lenovo Yoga Slim 7 Pro 14ARH7 where the microphone is not showing > > up. I added the system to the quirk table and the mic is working > > correctly (but with very low volume) now. > > > > Here's an except from dmidecode: > > System Information > > > > Manufacturer: LENOVO > > Product Name: 82UU > > Version: Yoga Slim 7 Pro 14ARH7 > > SKU Number: LENOVO_MT_82UU_BU_idea_FM_Yoga Slim 7 Pro 14ARH7 > > Family: Yoga Slim 7 Pro 14ARH7 > > > > Please add this patch to the kernel and add it to the stable kernels too. > > I > > guess the microphone should have worked before. Seems to be a regression > > introduced by c008323fe361bd62a43d9fb29737dacd5c067fb7 > > > > [-- Attachment #2: yoga-slim-7-pro-82UU-microphone.patch --] > > [-- Type: text/x-patch, Size: 451 bytes --] > > > > --- a/sound/soc/amd/yc/acp6x-mach.c 2023-09-29 19:31:03.753786095 +0200 > > +++ b/sound/soc/amd/yc/acp6x-mach.c 2023-09-29 19:32:06.414276453 +0200 > > @@ -217,6 +217,13 @@ > > > > .driver_data = &acp6x_card, > > .matches = { > > > > DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), > > > > + DMI_MATCH(DMI_PRODUCT_NAME, "82UU"), > > + } > > + }, > > + { > > + .driver_data = &acp6x_card, > > + .matches = { > > + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), > > > > DMI_MATCH(DMI_PRODUCT_NAME, "82V2"), > > > > } > > > > }, > > I CCed a bunch of lists and people to make sure everyone is aware of > that patch, as it otherwise might fall through the cracks. > > Markus, quick question: do you have (a) an interest in contributing a > change to Linux or (b) did you just post this because Mario asked you to > do so in https://bugzilla.kernel.org/show_bug.cgi?id=217063#c25 ? Nope I don't plan to become some kind of kernel developer. I just want to use my notebook without any issues and want to help others who want to use this device with Linux too. I just followed Mario's suggestions. I thought it would be easier for everyone when I create a patch, try if it works and then submit it to a bugtracker to get the bug fixed. > If it's (a) then you might want to take a closer look at > https://www.kernel.org/doc/html/latest/process/submitting-patches.html > , as your patch lacks a few important things before it can be applied > (most notably a Signed-off-by tag) > > If it's (b) I wonder if it would be easier for everyone involved if some > kernel developer could create a patch own their own, as that likely is > way easier to review and thus likely gets the problem resolved a lot faster. Please feel free to create a patch based on mine, when it's easier and faster that way. I don't really care as long as the microphone is working in one of the next kernel releases. Thanks for your help Thorsten. I really enjoyed your Heise Kernel-Log series and I really miss those series. Was always a pleasure to read that. Kind regards Markus --nextPart1865545.tdWV9SEqCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEERBSE7v1a64GvZ1KmZ8XdFW0AfzsFAmUcLXkACgkQZ8XdFW0A fzseVAf9GbHjcHa2amWp0h43dfHGYjL9JR3njUJnLGfz4JWEyNBfaDtYatzr0YjY 7TNxkbqH/lbGWoTsIBzHO540T2VmTLluHpQDWdB2xL857gIgPH5Ddtg1CUjODK2H xTyqnHvURs2QadjITFN5ox3z32RjkXxBjIAA6C0xF/CXg+WXsxG9fPqZhifAhqxJ LcE1D5K0VWT7qrbIJ2SHQy0GCHz98bOx7rNkduLNspyHwtVgG+ujgMRo2jDa1yBH OGat/Tf/It66GQs18PAnuW3rM5EZKNt7PE5XDX9jT5wgnG5DkkdygGPdZo1lhrnj r2W9M96d5MphyPQm9YcopDbMPOnseQ== =F8i4 -----END PGP SIGNATURE----- --nextPart1865545.tdWV9SEqCh--