From patchwork Fri Apr 7 10:49:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baishan Jiang X-Patchwork-Id: 671031 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 ABD54C77B61 for ; Fri, 7 Apr 2023 10:50:32 +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 6E261ED4; Fri, 7 Apr 2023 12:49:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6E261ED4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1680864629; bh=Y0vX2vlOrPzxSNdCvvzTqPrzMxREQV6LswkplgbNyuQ=; h=Subject:From:To:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=pV1YYOwBiqYQZkNA9zx3xALtd0+KcZ7/lXlzLiiYzcBsL72KtZJfs5Hvwd0lx7Ytk 7NzCAcb56UkR7BeGlvfFZFLPR/tKLXNIFrMqq9qZ5W+0bbwFTs9drZSRjCBpotTns9 JzQnMzJMRpCWfQKfCPNOPmVf0ITFZs9d+p1DlltU= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 4D47FF8026A; Fri, 7 Apr 2023 12:49:16 +0200 (CEST) Received: from mailman-web.alsa-project.org (mailman-web.alsa-project.org [10.254.200.11]) by alsa1.perex.cz (Postfix) with ESMTP id A68D5F800E5 for ; Fri, 7 Apr 2023 12:49:10 +0200 (CEST) MIME-Version: 1.0 Subject: [PATCH] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP into DMI table From: "Baishan Jiang" To: alsa-devel@alsa-project.org Date: Fri, 07 Apr 2023 10:49:10 -0000 Message-ID: <168086455067.21.10066265691382154300@mailman-web.alsa-project.org> User-Agent: HyperKitty on https://mailman.alsa-project.org/ Message-ID-Hash: NVNACAEKPIZ4M7Y2CDIXTA43DW7DVA2G X-Message-ID-Hash: NVNACAEKPIZ4M7Y2CDIXTA43DW7DVA2G X-MailFrom: bjiang400@outlook.com 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: ThinkBook 14 G5+ ARP uses Ryzen 7735H processor, and has the same microphone problem as ThinkBook 14 G4+ ARA. Adding 21HY to quirks table solves this microphone problem for ThinkBook 14 G5+ ARP. Signed-off-by: Baishan Jiang bjiang400@outlook.com --- 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 4a69ce702360..c0eea3dbd339 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -178,6 +178,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "21EN"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "21HY"), + } + }, { .driver_data = &acp6x_card, .matches = {