Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2793143rdh; Wed, 27 Sep 2023 12:52:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgIOCYCM5fgZNk8649M4sr4bq2t55SYYO5eUDdtv+uN1EL8o2MMmICB5aWal//Kbp/jlsr X-Received: by 2002:a05:6871:111:b0:1d5:a452:488c with SMTP id y17-20020a056871011100b001d5a452488cmr3739371oab.32.1695844331328; Wed, 27 Sep 2023 12:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695844331; cv=none; d=google.com; s=arc-20160816; b=cCH0d2djzpi1GzgPDgeK3oa46TiewRcZMptIhKq87LBnBNp3kJyzc+t/7kVJthgK3v E1yIMSR0zPjVo7se9j2RYzjxZ9RIorrnVvqXMH6Ke3BhgO4b5j6zLkr4FGmbU1xZVh9w +tMk/dJBBck+P9rL/UVtS92Z3R+T23XxeLOw0Jm9RCdqzVzJfQQr0VcqZpmQJkTSzulT z+Zj7Q81YeghuDBv04KesAwb19sAMYBnL7f10HhhKGnDFfb2PI3X2LrRlvcFs+D4dlRa AKFWKhIA8CMJfy8L/ptHNS2zoAE82hyN+RWu2g/qo2ywIvNvuUl4cXKmGYdhwq7kGk0q PruQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:cc:to:subject:from:date :dkim-signature; bh=QDCfzaeGWcIi7AD4z9zDOVfBWix11jNGiL4ta6mok7Q=; fh=vYtk4JxbTzHa8iMXlAYnW2Vaqxcz4rV/tNxlCH+OUd8=; b=Eatd8VQPLonW+D6u9obNulmupaZPaE8uuSfpLUuwxQYTyQOISA536k/7/1IM0J5uAJ tNCCx7+xqjRMwEKXOJ+A/PpMSRlD/60SQAkQpeZGl8LN/UJVEIjV+yBFlrsCwr1PWLKA YNFwCgRRyppFiJDaol3vu4Ba7JFgQE95E0SDskmI4n2vxNNvmRj+8VOx09nrXuITloai dFfhuH1X3kwuQplJYoihZ27MhFaMlkWiqpLeEpdg8VVVgsx4xH8F6fEK8zGGKuJq5+Tx Xlj5K5tuZiil6V6sBuzHbMmX3pqxX4DFML8km7cZZMomdmHkVqKqYBaSVEMRreC6/rIY 2N4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DUqSp+Cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id k191-20020a633dc8000000b00578e4e6131dsi9353504pga.436.2023.09.27.12.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 12:52:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DUqSp+Cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C8A6C8026802; Wed, 27 Sep 2023 09:30:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbjI0Q3j (ORCPT + 99 others); Wed, 27 Sep 2023 12:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjI0Q3g (ORCPT ); Wed, 27 Sep 2023 12:29:36 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98AF595 for ; Wed, 27 Sep 2023 09:29:34 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4053c6f0db8so108586585e9.3 for ; Wed, 27 Sep 2023 09:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695832173; x=1696436973; darn=vger.kernel.org; h=mime-version:message-id:cc:to:subject:from:date:from:to:cc:subject :date:message-id:reply-to; bh=QDCfzaeGWcIi7AD4z9zDOVfBWix11jNGiL4ta6mok7Q=; b=DUqSp+CztUhchE/EUDqVJhdHFYgEV/+ea/az8UC1tWdSRJ6gK9AynzOpcUDvvg8MkI WZtzA8fAc9CrhW1Toap0CXs3uRO/0HJFboOE6KJPnPYo7s7KIPrDdTw2bd3+5Am5ROAd B29WGe2Q23Bi9BCI0uIELfZv8G2mQkWOijNQ4GKR5ihU1bZnsQpt54Lyezch4xw/VTR4 HasBkS2nWL3jCXM6fveTfVgX1yIFN2yStdBUdLn5Q5+U7Vjy3p95/id8VIZNFzSjeWqd /Nt5RzCK70GITwtxLotbik0+VFzm1xH5Giuov+7J/VjaX3yNAQWwX3nb2nGOikAdwT+G Zpgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695832173; x=1696436973; h=mime-version:message-id:cc:to:subject:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QDCfzaeGWcIi7AD4z9zDOVfBWix11jNGiL4ta6mok7Q=; b=OVcaYuCMZxW2F5HtQr/Y3+uY2pG7r8qRY5yC5ZoIUcMNWLb9swCu8Mh217Mhv43ZtE cS9Vrw5vrgiTRU8x4KmWQn4vwfyPSXQqB+CquuyYzDg7QPAJnaoM7DP0ZSkozPRURd4O LSUS2GqsHuC/umQLsSzTPEl6yGIpfxRhKYMSmSs6FeiJ6FwIDn7os0/UyQg8OnxZJOk3 ORaAbRMT3P21f4t5PFkha4OwFe547qZIh+FjfW/9SyCNH21Q2a4Nan0/4xTPjNeSQIL4 B7Hm0RZtlVK8J/Alpe1KIj9cfrtr2j3FkTWY+88rUHmJUA8Iu5VfErq8jFejVzVzkuX2 B/mA== X-Gm-Message-State: AOJu0YxMaEO47zbWzZjrFyrs3yGUhRAw4+n0musVVrlgKiyt2j+4iHY6 BBsJ+1Li76cxMwBMeahnMEE= X-Received: by 2002:a05:600c:244:b0:3fe:1232:93fa with SMTP id 4-20020a05600c024400b003fe123293famr2392386wmj.22.1695832172753; Wed, 27 Sep 2023 09:29:32 -0700 (PDT) Received: from yoga ([2001:638:904:ffe5:5742:c50f:bd0:6aa6]) by smtp.gmail.com with ESMTPSA id z9-20020a05600c114900b004058e6379d8sm9334215wmz.23.2023.09.27.09.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 09:29:30 -0700 (PDT) Date: Wed, 27 Sep 2023 18:22:39 +0200 From: Sven Frotscher Subject: [PATCH] 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 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:30:07 -0700 (PDT) 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 1263cc0f, see https://lore.kernel.org/r/20230911213409.6106-1-git@augustwikerfors.se. Signed-off-by: Sven Frotscher --- 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 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, >..>....matches = { -- 2.42.0