From patchwork Thu Sep 15 08:09:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 606223 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 6647FECAAD3 for ; Thu, 15 Sep 2022 08:11:03 +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 6EF4218FF; Thu, 15 Sep 2022 10:10:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6EF4218FF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663229461; bh=rMkbh9JYe3AiiaPztJLWHFdcYPKfJtVSSvI8FUUY0Pk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XsbcTxNjWYUaUs/3e5tafDLT/f58R8TOYokWFPYBV9T7latCZJ5Ts03XTtQmWSQ50 ZAW8Ih7q8VySA5kmpVfbCfQpNIeyn1LgqabGu8X78z6vRxB+Gy3b06ylVOHCJP1qy9 AazwH1lng56V3+7N51Ec1bFMskmSlOBStpofRaHo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6B1D8F80482; Thu, 15 Sep 2022 10:09:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 775B8F80482; Thu, 15 Sep 2022 10:09:49 +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 15E3AF8013D for ; Thu, 15 Sep 2022 10:09:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15E3AF8013D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b="xbzjfqrw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="BUcPEp7G" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9E2F53200B6F; Thu, 15 Sep 2022 04:09:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 15 Sep 2022 04:09:39 -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=1663229378; x=1663315778; bh=dM fmPBWYKlmBZ304Vkqkg+k2Mpdstu9DKucN48OgE4M=; b=xbzjfqrwUDX5GopTNT 3X6goUOaQDVCQWGNHm2rw68w7zpIPtIaqdxMUFsgwks8JbjSRHusD0+rZ56gezhz nvypBNZbSxl60j0bq3vWA77NvYfTV9DIFJ19s4371vmqNWoV1PuY5iuBUTKRRYSa 3xdjiK1ETELWx2elmhtpih+ZpxYsR995i8+yJPn1SGMNFjz5rs30DGNWSe4BqhZT 47KsUe7kzj6cJ3WDUyfgVOYpn/HS3HcBBtUWmUkiY14hb8uHTF5z58cfJyGgiWbW l14oiyp66dCAg/kOWWPAMi42crXkxwZgBaZlN/Yn/fCiygOgaUXGKWs0Ko19L/pW gi9w== 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=1663229378; x=1663315778; bh=dMfmPBWYKlmBZ 304Vkqkg+k2Mpdstu9DKucN48OgE4M=; b=BUcPEp7GmAktWHGaXPhWwlNgxBhlc dJyJENHScLvg1n+g3U3uJQxGoREjd/f6pXLg/nSQHQejkM4+3QuVA02bgDGcZaYC H41QCTp8eD1XBnWXBvEPD55746ZppJvndD2ofhLjE+nu1VuFtW5pGWT2Hq5VYnNv Yc+NpRitGHkJo2a80+w8UtIQkmWvlnb5o/423nbLVQGbg9xhHxZCj6p/BOGdEbpl PvWENOd01fv22cjtxkpaYy9NGhNYv+ZCItV5ZTDoHRJ2/8DeMgoGOdi5mSEZPp5v wyJZPc5D+lJVGanOR79MEbqq1RrR4jL1W6GcVsEXvGetdD/5oNjPKlllA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtre dttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhjohhn vghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugffgle eltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Sep 2022 04:09:34 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Subject: [PATCH v2 1/3] sound: realtek: Add pincfg for ASUS G513 HP jack Date: Thu, 15 Sep 2022 20:09:19 +1200 Message-Id: <20220915080921.35563-2-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" Fixes up the pincfg for ASUS ROG Strix G513 headphone and mic combo jack Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index fd630d62b5a0..1485dea712d8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7025,6 +7025,7 @@ enum { ALC294_FIXUP_ASUS_GU502_HP, ALC294_FIXUP_ASUS_GU502_PINS, ALC294_FIXUP_ASUS_GU502_VERBS, + ALC294_FIXUP_ASUS_G513_PINS, ALC285_FIXUP_HP_GPIO_LED, ALC285_FIXUP_HP_MUTE_LED, ALC236_FIXUP_HP_GPIO_LED, @@ -8362,6 +8363,15 @@ static const struct hda_fixup alc269_fixups[] = { [ALC294_FIXUP_ASUS_GU502_HP] = { .type = HDA_FIXUP_FUNC, .v.func = alc294_fixup_gu502_hp, + }, + [ALC294_FIXUP_ASUS_G513_PINS] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x03a11050 }, /* front HP mic */ + { 0x1a, 0x03a11c30 }, /* rear external mic */ + { 0x21, 0x03211420 }, /* front HP out */ + { } + }, }, [ALC294_FIXUP_ASUS_COEF_1B] = { .type = HDA_FIXUP_VERBS, @@ -9314,6 +9324,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", 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), SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), From patchwork Thu Sep 15 08:09:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 606453 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 4C458ECAAA1 for ; Thu, 15 Sep 2022 08:11:28 +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 5965D1915; Thu, 15 Sep 2022 10:10:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5965D1915 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663229486; bh=vG50Re6UFQxaqDUv6BcplABo867aE64vsDMQpA43rPM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=i2RwgSU7Q4M6mk3jn0mdNRmJDHXJwY4DMQ/l1iHZHEjsT5v/jX/S89pdVFqvCQmk1 Jlk6t+Vvw0lVBkteWIPGzP2dNrXzODvoD94o2A5f5+YIWMiSMn5MHN/0aokeX1+8ZK 0xEkshEOnrcpgCJjIkD15Ly7X2IiRuxuLdQcwZWk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6B78CF8053A; Thu, 15 Sep 2022 10:09:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7113AF80535; Thu, 15 Sep 2022 10:09:53 +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 C333CF80238 for ; Thu, 15 Sep 2022 10:09:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C333CF80238 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b="BHZ2E2uf"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="lvCIz+A9" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 797353200B50; Thu, 15 Sep 2022 04:09:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 15 Sep 2022 04:09:43 -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=1663229382; x=1663315782; bh=vF 9yk8jSGcOUiyf4eGbShAgD4UX6iWj8uUKlajrxg1Q=; b=BHZ2E2ufgGuQ/CnZV5 jqNOHRY2EvO0VVnzxP0hSUnk2YaLG61j6Zvc3M2Xd7+CUX191HdJZt3aybSxBgB1 JyjE557sJ4VT0cunOEzxJ1IwgOCPXlvc+UshyEMZKMw1V6Lx52Wot9Vnc0Z+NpC7 uZqjeW1/oMBWvAyXJ8F/8MWnwzxEqeQNkU/yCTtdwRiX9LQiJPPX+EBakG2/DwRS 3POKy3XZCdEFXbPilS0IKOuf5t1S774YOoSBxAvBh0FS+kawUjsJxlifAZPPKEMB q+2XwmyjFNa3v5l0eCR4M0jF28FZqXrMrhUUGCJ/ESS/bEwRBvv/oywn24jq0yGu y3LQ== 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=1663229382; x=1663315782; bh=vF9yk8jSGcOUi yf4eGbShAgD4UX6iWj8uUKlajrxg1Q=; b=lvCIz+A9RuT29UYvG5FUjGQ+5fr9W /qjyhZ5gS5871Ds3KJlU5IHeA6kVzSBL22qtVHmSPIer++DmAai3el4u4u30r6mj o1zGritPYjxfB4BkZrmpJlEFlQh0FOZjRUTaKUkQ9zk2VGFTihP64YxasIwo+yVW 20UKqL4zuGy7Se1VeQIPfL/lXYFgbRNKuoAU6OLuXbkK7ypyJ3zUFWXcCgiBFntp oywNuAii2kbVYecfG6Gmxvn6kGDHRtbAwwOgQJgTr33UIqfjf1cc6iDqBSynM52W GFKt++VgNGm4wNAbXj0k6kaRv73yDvplcFCGZh+bCGnSgIAOTeOPYyNtg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtre dttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhjohhn vghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugffgle eltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Sep 2022 04:09:39 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Subject: [PATCH v2 2/3] sound: realtek: Add pincfg for ASUS G533Z HP jack Date: Thu, 15 Sep 2022 20:09:20 +1200 Message-Id: <20220915080921.35563-3-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" Fixes up the pincfg for ASUS ROG Strix G15 (G533Z) headphone combo jack Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 1485dea712d8..a44a55619144 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7026,6 +7026,7 @@ enum { ALC294_FIXUP_ASUS_GU502_PINS, ALC294_FIXUP_ASUS_GU502_VERBS, ALC294_FIXUP_ASUS_G513_PINS, + ALC285_FIXUP_ASUS_G533Z_PINS, ALC285_FIXUP_HP_GPIO_LED, ALC285_FIXUP_HP_MUTE_LED, ALC236_FIXUP_HP_GPIO_LED, @@ -8373,6 +8374,15 @@ static const struct hda_fixup alc269_fixups[] = { { } }, }, + [ALC285_FIXUP_ASUS_G533Z_PINS] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x14, 0x90170120 }, + { } + }, + .chained = true, + .chain_id = ALC294_FIXUP_ASUS_G513_PINS, + }, [ALC294_FIXUP_ASUS_COEF_1B] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) { @@ -9325,6 +9335,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { 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), + SND_PCI_QUIRK(0x1043, 0x1c92, "ASUS ROG Strix G15", ALC285_FIXUP_ASUS_G533Z_PINS), SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), 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: 606222 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),