From patchwork Wed Oct 19 08:34:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 5137 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp252016wrs; Wed, 19 Oct 2022 03:53:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70uhiWOJTiVSR3qjkOvnSaEzaqZIt55vrgHvSbNXduYFAfzZw3JVBvMhfsZYxrnE2Wp7r2 X-Received: by 2002:aa7:d5d3:0:b0:458:814c:6d57 with SMTP id d19-20020aa7d5d3000000b00458814c6d57mr6839917eds.186.1666176801448; Wed, 19 Oct 2022 03:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666176801; cv=none; d=google.com; s=arc-20160816; b=ZDppiLrsSNMTs3zCFn1OXkSsNuQKZPjxLa3d2Js3sbAHDtoUDoAP6aXFusAJ1OEaly ma7IkDPNSEedNxBaOynXPd1hfqSGprkYP/G0/+IPuhZXsQdeazp6ctnNCg2hMbIo5YV4 sv8Q1FFqBEV5jK9lko+U09lsBr7IverlKeXpxqr6106B4RPkcwOdEOWoW+fK3PIhJqQb X7DwzrxtfJoFZ39oXJJ3M5iJA1lI9wVJtQQGwCBtnst9vNC/QT6n8nIwYATY/GmJpwgS rpHOq2QjK91UJriFFSIQUDU9BsbEcivFi1GGhBOK0BV0YnZ08UlyFBQV04wukE6qcdNI 2xWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4iflgzsb02/7aVUuunnKJqoL3vGBnk4LJSqkUqTfCuU=; b=VdTAXnrMRmLN/NaVXVjzPaZxZmYX+yI/fbu+2FzOJUAJEtcVfed12Rn2PvsPpmCqQG 5WZaFCouNFrMV2GMc+zEJeEkbPiTRyf6E6XKgONMDQbTHaB+3ZpJ4TU8OyRv9yrfLswI REZYmXRbOZD8tuwOzVJdOWfqfK2uGg5HjHVgQWJL00ttMYKg75TOgf1thr50qUvMYXBg qwYzVd8CLLzzo8LiMDoWwa1bwRHrTXR/4Mrc0ryHRIvKvN9OsuEei2yQUaDste+fmndl phFAKdOpbP0p3aPbJuCMOrw6zmf7CRWDnZbfMT+dTp3axTatjSl8eDqUfzp8PGKyE9ed ThnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nVcE189A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb10-20020a1709076d8a00b00780076c3322si14912234ejc.432.2022.10.19.03.52.56; Wed, 19 Oct 2022 03:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nVcE189A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbiJSKvZ (ORCPT + 99 others); Wed, 19 Oct 2022 06:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234541AbiJSKt1 (ORCPT ); Wed, 19 Oct 2022 06:49:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09C41900D4; Wed, 19 Oct 2022 03:22:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 44BCAB824CE; Wed, 19 Oct 2022 09:11:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2238C433D7; Wed, 19 Oct 2022 09:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170709; bh=VIlYJ2ErGI6e9UFBzveHWStQsrDkc3EGp6+mnyrVdyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nVcE189Ao3rZe4yYFoLBpq0R/1+6ZKExaDSn5Wu5ZLhcBARw6kegIr3pU0DGi/GsX 0jEVDZUjcC+tN8zeu7yAR/Mh8G5/r08A9HmQgVdZX45fALEjRkLWl35145wrCsh/th yF0WruOJTjMnoGmPK9Bi1Svs90NIcLvnclWrdGck= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Xiaoyan Li , Mario Limonciello , Mark Brown , Sasha Levin Subject: [PATCH 6.0 758/862] ASoC: amd: yc: Add ASUS UM5302TA into DMI table Date: Wed, 19 Oct 2022 10:34:05 +0200 Message-Id: <20221019083323.404141151@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747113005746844251?= X-GMAIL-MSGID: =?utf-8?q?1747113005746844251?= From: Xiaoyan Li [ Upstream commit 4df5b13dec9e1b5a12db47ee92eb3f7da5c3deb5 ] ASUS Zenbook S 13 OLED (UM5302TA) needs this quirk to get the built-in microphone working properly. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216270 Signed-off-by: Xiaoyan Li Suggested-by: Mario Limonciello Reviewed-by: Mario Limonciello Signed-off-by: Mario Limonciello Link: https://lore.kernel.org/r/20220920201436.19734-2-mario.limonciello@amd.com 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 e0b24e1daef3..5eab3baf3573 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "21J6"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "UM5302TA"), + } + }, {} };