Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2552939lqp; Mon, 25 Mar 2024 02:19:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHvkH+K8GR308Oc1zO0PlZlPK0jDcElnjYiJBeOHiRAGyGv33AH4R4QqqWBH1Yr/cWYhXLDNHwhAKNrIsn0x6DYdt0ZsU90UPMwtoV9A== X-Google-Smtp-Source: AGHT+IG27h9a9lUNfQpsahsLEJe44c8GJ9Pva7ublhXEuKgMykzHgM7R7UP1cQ/tf3LfzpDYkFE5 X-Received: by 2002:a67:fb96:0:b0:478:2229:f5ec with SMTP id n22-20020a67fb96000000b004782229f5ecmr141993vsr.25.1711358364007; Mon, 25 Mar 2024 02:19:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711358363; cv=pass; d=google.com; s=arc-20160816; b=yFetTuhNknKXDpELpMGph4NWwYu838kW/i9rS1tRSsXDNeyIHMjHZhruXhKaGBEZ0z 12FuffLDEOpIGm1/t2Sx9gJImcYokFrjxYxekT9xVqUn9pwizUDQSuiIhFwL+uk5UvWr B38j5IOEmgI+l1TEVg9fmyGX4uVu4s+p5PlrU9CGwtkYWpH8kLt4PpCLrxHNf81bystP XuGqgE2/1aAWW9wmrneF8j3blSoLpNcBDY1+Y+abpL+ip/Wvvhes+DCKHhC7VGrzIqxy LX6A6grodvS+ZiNmYpsENVm2mCD/vUhMumqzzDySsMQt9JsYLBuapDgxE9/lB7YrGlwn zaMQ== 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=6zW8zZnFLVDJrESlKpH+5sFOYGc3IkWS8kro4upjjmU=; fh=q2Gf5L3bKFhM807CJqWS9k+MJjSrK1wJs/BOzJEcBPc=; b=pmpfxhYqky62n4oxAMlza7Cv08GWJSB3z/iPJk6MiFfKhLiuygEcKosmDCRjCbI8KG GAXu6NttxVcu75Qig+6ZS3vArFWab/uZ9YfNkaMMYeMuShJuETFoIMFmerEuie5jAA7q RJjTylJCcApUx3nldnITzpXYl7boYsWsZuekkOaDKMASOiX9nQy/Tu3MOJaYy1cT9rv2 VWxcdvPx5rB+Ta3joPYF+S0yRY8M5VLQW+yCICh2B5RmJVByvQ+XVmJMYSYPG//PSQCq 6ZUkR9KwPpZEpEWBjanzNY5+Vw9dZigC243VLWMzxPSKIw0AZGiDI9K/FFBNT/Vvk7kF m9qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iD0p4BeS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115775-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 dc4-20020a05620a520400b00789f23e41cdsi4631426qkb.196.2024.03.25.02.19.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:19:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115775-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=iD0p4BeS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115775-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 B83BC1C30E3A for ; Mon, 25 Mar 2024 09:19:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8111336D89B; Mon, 25 Mar 2024 03:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iD0p4BeS" 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 0D2EA14532D; Sun, 24 Mar 2024 23:12:56 +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=1711321976; cv=none; b=tG9awgrb385HNY09VZaIgLllUHHUe7s9GWEjfrFwDRTSQrsDzll4zMBCif8qQAsrgi89GQQkk09GwgY+ayGa8xUwGvrURj+zelnDYIz93jK7mrPBV62eJQ2GJ1hjLuS1A/HDqqjwzEF9+VrhkpfG8d7qe5CB29W01JxCY/PapL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711321976; c=relaxed/simple; bh=pXzBRU0ZX7LOA6s9J9tgTTGpBz2qJ1n+h5JdCsC+IRk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dGokZpWbAZ7BTWaMf24sTmu+7BhNZmSxlCGPVk3k48ON9yeJy2zptJ/Cgym2mzQPbCTkeWriS/YWIngjxJOolG008Kk9TMsgUuXCSoEkZa543otir4cgaJQfICoK5zr+812WF1iQCFrNpWga0dYtRxPWHS8QiOSD/grOttg9Nrg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iD0p4BeS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B552C433C7; Sun, 24 Mar 2024 23:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711321975; bh=pXzBRU0ZX7LOA6s9J9tgTTGpBz2qJ1n+h5JdCsC+IRk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iD0p4BeStSJK5VTUkid2+k8zXIFbBzqi7H1xremZKf7wXDw3dTSQ8hFmPVJN/8+ut 9WtLz1LafbSsM7VUFg3BUseohcbhLAOQIH+ZDkZuiS0hdKnc+iXmLvCnziC/FIoSM0 Dzuar5imwTcByY991yop02aITq54oavasEfDzQzo25t2Cf/eqtgCsIU6lKw5UyFSAy nRej8EwhnamQhP/BUX4ZqafED11BBE0TgusJw08d6qYdGsxJ9g++PaX5Dy3f8pcN/c pFf5ZkJRb7rQP9FnkqYwt5YaCh1yOEJOKoy2hA+E8pnqnMZjPvD2admOKoywUbVwdp Vm31S6caE6Msw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jiawei Wang , Mark Brown , Sasha Levin Subject: [PATCH 6.1 048/451] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2 Date: Sun, 24 Mar 2024 19:05:24 -0400 Message-ID: <20240324231207.1351418-49-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-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 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 0568e64d10150..e0f406b6646ba 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