From patchwork Tue Jul 4 04:46:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 115553 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp978280vqx; Mon, 3 Jul 2023 22:04:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlHVytYVTebGvwDD8g46fp5aQS2VLtBXMBSCwJfVhj79zDbGp9IsHbsHCV+cRQVzazEKpmEM X-Received: by 2002:a17:90b:230c:b0:263:4305:4e82 with SMTP id mt12-20020a17090b230c00b0026343054e82mr10366834pjb.6.1688447071875; Mon, 03 Jul 2023 22:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688447071; cv=none; d=google.com; s=arc-20160816; b=sO3E0nj3EJTyWnT5vcpanGKMNjuPfINSfYEHQHEUURHtasDXlFNW4bK7itt0gSK7Uj HEEA/+OKVf78uNJQm4jQm6y0F1sKgge7XBfVMbN1Um7aasGCpncyXAvFWwV0hicdL/vG bcbif+tZNn18/+g1t9ieHTEGLR2y+9a3Jl5RrrOb7i/cH8GiT0hkevh3PX2dp2T7OWUi eY836TWZEWWzwP/WUpPbsEP+8lwPlPOaNJ1INgt+qyTWlZEDMsLQXg8cXa4PsAW8VUr8 GojTmSWyLVKo9p2rweldrb2buXMk87yl6ZnZPDHit0Z1YLJ/y3vlXbwkq2rEXcwXgfLp YqMA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=lf7BG57d2imwAdxEp17ZgL+r8ob/5wcVGgce8xMXLs0=; fh=pYIOgdhDYYcmWnMevLmS4MkD6j+ECBwBJJXswa+pisM=; b=BEVBEHVBDJ8Punb8XTp7VJ9k5EMiHdJA+I2Ju9iiUe/GPBrIldvOhHY/nuRzmSVexQ DaDj6z4bobcFEz/OZ5vDsneDDF63omrnnmpCJNxWUDbp0azJC7kOUwStU26+7cEz4p4a q7Mv2S/5rZfdvvdFk2mt7M8rYMHaw40X109ad+zuGtxtq5R6pr0LFpBM7/d5+1g0/FqE l8rrPmgFRLuNapZ2aynK6QDMMlYVeGr6RxtbkmPR8hPVfZw+IK7AY1UF0F+ZSsWMXMyJ DuBC10yuC7vBCPdjptOtPNBvEuSEyGpJRBmrPd5ggM+eoTR2X3oQtvgnx1F7rM53EGCr 1asA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b="CV9MwZB/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Q5OnB1sc; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k15-20020a17090a39cf00b0025960d035c6si19949714pjf.138.2023.07.03.22.04.19; Mon, 03 Jul 2023 22:04:31 -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=@ljones.dev header.s=fm3 header.b="CV9MwZB/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Q5OnB1sc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230326AbjGDEqo (ORCPT + 99 others); Tue, 4 Jul 2023 00:46:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbjGDEql (ORCPT ); Tue, 4 Jul 2023 00:46:41 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBE24134 for ; Mon, 3 Jul 2023 21:46:40 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 420E05C029C; Tue, 4 Jul 2023 00:46:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 04 Jul 2023 00:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1688446000; x= 1688532400; bh=lf7BG57d2imwAdxEp17ZgL+r8ob/5wcVGgce8xMXLs0=; b=C V9MwZB/AEmoEeVLMi1tWuoGUZARof18lBVyf93g0v/LRuXNudWh8om4HGPr530O1 1O194cS1QmVFQAW8rSPe9tHo3cpJHAqP4jKM9NKtZq3YzhcmTh5qnG0jB7QO8WjY zx0qza+4NLGxyv2pAj4I17TAylXSTWi285o0SkABS+AJAda6YbxhLdeWfDymnV9C xhRmjogf/VGSINvJcQXIwf6LkOrsfsTgMNAgNAt1DHwPPGyFqh7wYkNlAWUskCIY 5/0oC0qdSi6tJpPMv8B0kPFYe0y3k0B2YZrznRBdXh/A9LuNAI9lr96T91vIu8OA lmIFJKXbS2ZfLrbUi5XoA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688446000; x= 1688532400; bh=lf7BG57d2imwAdxEp17ZgL+r8ob/5wcVGgce8xMXLs0=; b=Q 5OnB1sczXB2csbLnAdMhz0lsvH/2oenF76iVgNODu7/T4PAgDU8Zfbx8JTdxkNDm x9SKQ8NlyG2Y2ZVLLW7/H93/6tUss+zwJkEsDl8pj2aiKztTBI2wPgy5v/MviRwz K18o5CYzikutqL67Y2h4wGZWq05CaA64l3Tw/qsRtvd5ZvbKvDjPyAdo3faF0HMS 4b7aKxapmoF71uccu3UhnTgDmVTv+VwJLTJULgLlE0fbtp82so+h83dK5QNRThtm BSzp2eCEGoe+3gzvGwxL9Omj4Yl7hflFxUOt45lpnMkUdyUlTXb8bCyGBICIPGMj HFSmRzwU8qEQuN++u2kuA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugf fgleeltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedunecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Jul 2023 00:46:36 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: perex@perex.cz, sbinding@opensource.cirrus.com, andy.chi@canonical.com, tcrawford@system76.com, tangmeng@uniontech.com, p.jungkamp@gmx.net, kasper93@gmail.com, ruinairas1992@gmail.com, yangyuchi66@gmail.com, yangyingliang@huawei.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, "Luke D. Jones" Subject: [PATCH v2 2/5] ALSA: hda/realtek: Add quirk for ASUS ROG GA402X Date: Tue, 4 Jul 2023 16:46:16 +1200 Message-ID: <20230704044619.19343-3-luke@ljones.dev> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230704044619.19343-1-luke@ljones.dev> References: <20230704044619.19343-1-luke@ljones.dev> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1770465077007226105?= X-GMAIL-MSGID: =?utf-8?q?1770465077007226105?= Adds the required quirk to enable the Cirrus amp and correct pins on the ASUS ROG GA402X series which uses an I2C connected Cirrus amp. While this works if the related _DSD properties are made available, these aren't included in the ACPI of these laptops (yet). Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b41fdf22157c..1fae8e8b1234 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9592,6 +9592,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK), SND_PCI_QUIRK(0x1043, 0x1433, "ASUS GX650P", ALC285_FIXUP_ASUS_I2C_HEADSET_MIC), + SND_PCI_QUIRK(0x1043, 0x1463, "Asus GA402X", ALC285_FIXUP_ASUS_I2C_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1473, "ASUS GU604V", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MIC),