From patchwork Thu Sep 15 08:09:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 12977011 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 3F265ECAAA1 for ; Thu, 15 Sep 2022 08:11:34 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 55BA61920; Thu, 15 Sep 2022 10:10:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 55BA61920 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663229492; bh=FuxIPyfxe5kfGacZT8BTpHj6CWvg1eGfQOVPbmlayO8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=LKM8SGhHYvIstThFA19YpS1aabr8HXFwsQhoUMbe56JOTkFLozs9R1EhW5KVd6E+i 1HhbnM3qgVhjI3p4XJ4049Xe9Ft24Hrdnr08LntcR1Z8pvf7efLAB/gGzHKy835cE9 QJObbuGlD3XVx3gNFwfe6Gl1Tz8vGuFby20E1BoA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D72D6F8053D; Thu, 15 Sep 2022 10:09:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 35A1FF80542; Thu, 15 Sep 2022 10:09:56 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1B714F8013D for ; Thu, 15 Sep 2022 10:09:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1B714F8013D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b="Luzsp/ba"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="EP2EFni2" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 167A93200B73; Thu, 15 Sep 2022 04:09:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 15 Sep 2022 04:09:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding: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=1663229386; x=1663315786; bh=0Q 04mFgRD7edEsHcym+fN9UcJx2DHyn2Ew32bsA9ExQ=; b=Luzsp/ba1qz1kBcZ3m t87N6zIxxrDhm2MvOVnj+ZgtpcPD7ve40DbxQHrGdAzPCJ/1b4/cHbnpKtNXBqmk +miEadMKEmYUPj3iOCbaAvzVonBbZjIS0ePprqsmb72lWNVbZX2SshXcVZzOZx9b iIO0ny3uVedfix/LAMzMzYQHxmZqtWw1Tlg+5tamgxy3fyOof06/H/dPA1Rm7qHx 52OVZTIj8EhutFiYuA9zQUUoW/1/cVRjmqo24Nq5Zx41Xo5w6v9mM54AaWmJ4i50 U3e6LjJsjt6hSyKOEpp5x5DdSmUxcIFO74Ji+h9yDIV0epsltf7nqgTVkaWqaoZg sdgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding: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=1663229386; x=1663315786; bh=0Q04mFgRD7edE sHcym+fN9UcJx2DHyn2Ew32bsA9ExQ=; b=EP2EFni2DQQWxuZh6jWnRfT2WB+z8 t3DDaxhzIgAG1LXYCkj2j1nQbUhnFmqnKEj5RKg6X5jpLxaFfwJWSH6iEPEUq8ta dL4xyS2vylwZb/sXl/HPXHCX3qxZgpGENSHmAhYrp3zIbzTKVf2GaaJtK36CIdn0 9cQP1xQI1c6fALolle+2xFc4OjnvHlD+067huWJYeGFXmMKckyJw8rw/uVa41n2T CvQv9DDDVklLuyxjlxSjIXNnDIwcyME1dZaylB5EICzOUm3w1qV9Ku7NS7bfRthP D2etX6ln/G1L7eilnKITMRzmOQhCFnwlvvwMhrG5hirLrlSY3gUunjN1w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpedfnfhukhgvucffrdculfhonhgvshdfuceolhhukhgvsehl jhhonhgvshdruggvvheqnecuggftrfgrthhtvghrnhepgfetfedugfetudeuheetjefhue fggfelleetvdevtefhueeujeefvdegleevhefgnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheplhhukhgvsehljhhonhgvshdruggvvh X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Sep 2022 04:09:44 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Subject: [PATCH v2 3/3] sound: realtek: Add quirk for ASUS GA503R laptop Date: Thu, 15 Sep 2022 20:09:21 +1200 Message-Id: <20220915080921.35563-4-luke@ljones.dev> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220915080921.35563-1-luke@ljones.dev> References: <20220915080921.35563-1-luke@ljones.dev> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, "Luke D. Jones" , linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The ASUS G15 2022 (GA503R) series laptop has the same node-to-DAC pairs as early models and the G14, this includes bass speakers which are by default mapped incorrectly to the 0x06 node. Add a quirk to use the same DAC pairs as the G14. 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 a44a55619144..52eb31f4166c 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9332,6 +9332,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502), SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS), SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),