Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp481418lql; Mon, 11 Mar 2024 08:18:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuKcG5ydVeVQ3q3GICjQxzf85t2nzizhvqBIw4ym+f1hClnW/j9Xtul4aFK1dZnLwc8ylK78hyhjogA40ZNJSCG/y75xADpcuf4vVKig== X-Google-Smtp-Source: AGHT+IF3syLNxM+Vxn/Xf+gLvE0PUBvs7MkFwoIWWsfmyntsqTFJXHaX+KR3kcShKCOfV6EhP+uH X-Received: by 2002:a05:6102:370c:b0:473:1ab1:71d7 with SMTP id s12-20020a056102370c00b004731ab171d7mr849279vst.29.1710170284232; Mon, 11 Mar 2024 08:18:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710170284; cv=pass; d=google.com; s=arc-20160816; b=dGRirszUBmKg9AlRxxoBI5/O3gz1MhBztvWvrFREI3n5bpwgzr+HJ14q2Nx4iKUIhb RQwHXtxY0M1xri8L7gdAXk+cMDUePqGYkpiGUYm+3s8iRuAN818ROty7P989TGtU6oxE Ccc8t7+TTXd9uGLGSctOTH850jG82x3ObvqVD26Dao9HyoroqBR84wQkp4UYGkPfbTfk UHNHLr4n/d7AT9WRhnumLFLTqDHsH0ScJ/LYI2FMgq7CuaNtpbLjJtEZQrU3OXpcoB0d XwDFXtzbvCyEBLjdflRLqBaAUoKSTvJsMmmiHxilOnL9lIRxApqPF59BIXoDN4pJ0G+D 7mig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Cv5deUqljm0l+GyZ4vi/BqjkyeBjvlsESVRNXuQi5tI=; fh=9PFmmlQPyvPIoY8g6RUbbCWIuo/kcy7gBw1b1i16//Y=; b=h9kDPg5mdL6BYJzs/DC/R4MBCT7gQc816tTJ3zIPoDo4hEBzVg0vuaOeyM8alLo6ZW sPcZwqhCG6ituFavfA6tK7OUSytA3/0Vjt/LKPV4xovDUF+27QyMnoW2ddWRmSHytf4w RqEj2RHObmMTwWTmJkVCzjUFiaZvkQIQ3l5B/QsLJTZz1pUfCg2xGepnzcwGV+C7BTm3 qz73TY9mEm8WPxaaWIIXZv2oskehaH9Qul+NI0m2gysGeU83JALaxP/55u482Wofwd0E 6ojeG9gADK/8P/xRVYI1vNGhD0pu6/lw+JDHJJRic5Z027s1LYoBCQzg+hTMQlAFRZGp ZE6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nagn15C+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99068-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m6-20020a67bb06000000b0047263f0424csi503014vsn.258.2024.03.11.08.18.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99068-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nagn15C+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99068-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EBBB71C20F2A for ; Mon, 11 Mar 2024 15:18:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0717057303; Mon, 11 Mar 2024 15:13:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Nagn15C+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A58056B88; Mon, 11 Mar 2024 15:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169981; cv=none; b=ZvLZtC78lMZt9/y8w2TRaM6nGhYvssyPCIC/NNrKlTeqYNpbjY5RTgOlYPDtvXDc8K+SLPVZBYbx1iHR29+sLyGCprhpkZmguv+0ITjV1l4zcb5SPPO0fUWbppY+8oioFP4AYdWpzJ6KRVxlyrY4lkA1SAXGj+AV+c4h7Omns80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169981; c=relaxed/simple; bh=yxJXJBt2rnE90+EW1MbwMjyYjD3W0qZ618LNmt+sM4M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CkRDM1UG/USwT3CJ4emtL78xOMpxNohxSC+7NOutZpZLhRpzYsdI9JYPovdpphcaMlA1t43x8DcOTRgalfsE2hXzrIdqJUye/I7oWEKw+DyiLY+sYHxPPHGVsnpArCK347yu3F5/Ba51E4ZG+gDvFMkQ227CHP45jro43YwWI7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Nagn15C+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A802AC433C7; Mon, 11 Mar 2024 15:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710169981; bh=yxJXJBt2rnE90+EW1MbwMjyYjD3W0qZ618LNmt+sM4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nagn15C+eWmbtXRRAIsxUMaHRO8RJ0CGDOSbLMQJxXFZ/A5ePSnHa3E0/ecPr9r8M B8FhM+yzT1Nbi5MZXtChzTrgZ/IL5GmJ92asPCco87XspCgb1b4lc3e46Nd0+HxGmK Ix3a8GHyHAyLsodCOkM/PDjPDr4RouLNIulUBo+aLlDdRlACLQY03Rj0biXzHjfDrV xfUfngjAJeN82e4zMRYJMBcaY+g/EQGNSs33zeQ0JLrrSyH0eLTmuJf1k4/Lyzsa5V 1hZqWGw2DT0R8QCgGoUAZ9pCbKcw1fbWdANa57lAy5esfilEg+hJWX5g0dOQo/jWAX UeAW37efDN+xw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jiawei Wang , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, mario.limonciello@amd.com, jeremy@system76.com, git@augustwikerfors.se, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 6.7 19/23] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2 Date: Mon, 11 Mar 2024 11:11:59 -0400 Message-ID: <20240311151217.317068-19-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240311151217.317068-1-sashal@kernel.org> References: <20240311151217.317068-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.7.9 Content-Transfer-Encoding: 8bit From: Jiawei Wang [ 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 Link: https://msgid.link/r/20240228073914.232204-2-me@jwang.link Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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