From patchwork Mon Jun 19 06:03:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 109736 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2803756vqr; Sun, 18 Jun 2023 23:20:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5k2q5RZBBMYrakkaDzDyv6aXPL5qcPBRF2Czy1eiWawz0pN1ZGcK/v/h+LIdO7qqenBy29 X-Received: by 2002:a05:6a00:1ace:b0:655:6bcf:208a with SMTP id f14-20020a056a001ace00b006556bcf208amr11647962pfv.6.1687155641965; Sun, 18 Jun 2023 23:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687155641; cv=none; d=google.com; s=arc-20160816; b=m0sTIoTyOimlqMqyy4cf34coWbH5EnihkBDj2Jkk/v8HU0DNtvAEVrq8odxcUkpnnL El5BJ+VW4KHVbJ6XcPFD7rRIKW4OayVOTVk16evDLNsSGLrptsZemx2VElGTsbCrngrd 14ihUeD/hxuxSzsmPBqE1Teqty8L7dM3jJGps5ywb/CAI9a55nrR91RzBSqSZuw9y2ON uAXB1uhIWEXI8Cz59C7y3Zc1B9Zz/fDK9fx0WYwf1FOkYSFDrPZEhHiey5j9vUUJkEmk Pr6o0GwEasoLuKtq4tjkRPrA10dCozoEJuB/lpd6oujLkX8OlaLzM1CHEqH6d2NXKQyl TzJw== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=bc7ZXX6MFXB90to3uQmcdd1P2M2ygAGGajXNV59dtrk=; b=gx9tDvEuFIJvmYKMF2jSJk7HZBsv8nERWbQ65HuHOhdgScX+Tq1V1v7gHmbrdYE6FZ +8wfd3CBcJw9pU7C4ZN/cCSBbBrUw4/zxJB6UX3boylYy1GoA/vAImVZfPmXDBN6gKsn dlChK69voNdGeHq0QXCYe8RBOEl1sny0ZxeK0gl3McLF1AVGD+UQEBJoqtY8zpq8MZ34 Rqi3PaJzKjczHkT+JmDKAI8MPkiSvzDVAVcdHscXxrfZeshklPoxQdMJcYAGNwAE4vPG 2JDt0r7R+4RtBqvfrROrsP3t/slpR6abnfTWh0iBCQwrH6NVYxCNH/yIW09RFrVHxFYY 9O9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=Qho1HUx7; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=ax0TtflL; 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 k26-20020aa79d1a000000b006650ccb39e9si16775683pfp.294.2023.06.18.23.20.29; Sun, 18 Jun 2023 23:20:41 -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=Qho1HUx7; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=ax0TtflL; 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 S229660AbjFSGDe (ORCPT + 99 others); Mon, 19 Jun 2023 02:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjFSGDc (ORCPT ); Mon, 19 Jun 2023 02:03:32 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20010A9 for ; Sun, 18 Jun 2023 23:03:31 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8C98732001E9; Mon, 19 Jun 2023 02:03:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 19 Jun 2023 02:03:29 -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:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1687154608; x=1687241008; bh=bc7ZXX6MFX B90to3uQmcdd1P2M2ygAGGajXNV59dtrk=; b=Qho1HUx7sRkZSmM/C+HOLx0z8q Cxf3WT7BnoOyVNW3DSkZZ1WkH8EMPmKLTmW+EJLInP9ovlBWSr0BCDECTvVMAEdY ooCVg9JjrIAP7yezUBJSdvUzIvk8y+2ZN/j321Uiu8l/XCvAA1wo8gelZt4e59XU 9F8lDxmKVNxxVxb/NI2iNKGynpbCfDu9CD6eedLE4lW1syz+k5OB0w2LBH6GB8Cm IFd9CmEiA9VQHW4NviEt5r34rUgXiNwNcmvMmYo8Bqln7FSvICs7W2U+cIzHdqwb aOwgl1cQQuNxVyPlZBcXvNjj1b7iVbPpq1V+lDYLGMfAYTPw1Z6QYOChUyww== 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:message-id:mime-version: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=1687154608; x=1687241008; bh=bc7ZXX6MFXB90 to3uQmcdd1P2M2ygAGGajXNV59dtrk=; b=ax0TtflL8XtQ9jmptPE0upqDmzA5X Uy50VGrtQVmXJOBqvZo8Vztn9qpRoX0a387nBPSrL0HV5tf4siyr7ggqUF6D8BoN UpbU9Xn+jRWo10nrjaJMzIYKm1Q6Kqtd4PHjaF3xo8dEmHGQP1Pcy5ESyqZ+UF04 GgBBXil///IEi3wC1lN/SeuKTQM+KkubWtIMo+QWf5iL3vUxdt24ickJQLcdc78I T3LkU4usFLGNXSwTct4yn/Ta5hdjOJthnrgSyXXZEDanCotMsBDJAE87wEgVA4dZ CMm6nyz0v/T5wcqcoZxoPdbPrTw3ssQxIvXYcg7v0XHuftD2DmDUAKgOw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefuddguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgudejtdfhuddukefffeekiefftd dtvdfhgeduudeuffeuhfefgfegfeetvedvgeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Jun 2023 02:03:25 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, sbinding@opensource.cirrus.com, "Luke D. Jones" Subject: [PATCH] ALSA: hda/realtek: Add quirk for ASUS ROG G634Z Date: Mon, 19 Jun 2023 18:03:20 +1200 Message-Id: <20230619060320.1336455-1-luke@ljones.dev> X-Mailer: git-send-email 2.40.1 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,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE 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?1769110914514456751?= X-GMAIL-MSGID: =?utf-8?q?1769110914514456751?= Adds the required quirk to enable the Cirrus amp and correct pins on the ASUS ROG G634Z series. 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 a5d55a7063d3..437cf13d10d2 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9552,6 +9552,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x1043, 0x1c62, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1c92, "ASUS ROG Strix G15", ALC285_FIXUP_ASUS_G533Z_PINS), + SND_PCI_QUIRK(0x1043, 0x1caf, "ASUS G634JYR/JZR", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE),