From patchwork Sat Oct 22 07:18:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7160 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1088236wrr; Sat, 22 Oct 2022 00:39:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5E0fMfRPtvT+PflyGL6hwR1Hml3pOEZ+enkoym3GqRuF6JHIuAnpemJrsDRHawyrQ+3Cz6 X-Received: by 2002:a05:6402:4150:b0:44a:ec16:def4 with SMTP id x16-20020a056402415000b0044aec16def4mr21381432eda.21.1666424357073; Sat, 22 Oct 2022 00:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666424357; cv=none; d=google.com; s=arc-20160816; b=Xa9SHe4yD3D922EcKXnlThjggyEidyPptsKiLeXUDy5rDSO/bccvZ4pRR4RQPLx2Ky wb1EyaN4NtqJAfaSchtITjKFyqXSnSjGMeDEVXdY/KOvWxjjl9HhTb/EbKPtsoPDnUAL jdA7pIVtwzmWogToEJzKn7Li832HWWmoSw22f7T7X197BgHTefzm16gt6jfQu3EBPXD9 8tRdQvK9/6WrRA7fDg5XmtMSWXm5yX8ZxZHNB5ykW2xUlF+A8V2pYe3+c7xxq7W6mpSz Ju/3kATC7WKIPjdOec/cnBlwyY2KviGuB6TTlC2X8zO/qzuqqE096s3XS+kxp3z+SiWP c8Eg== 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=CPHPc/EBshGzUluGRqU6OahW1BeGtAtfZ4nede6gunA=; b=pltc5zL9nbEacEhBa/G8HGPVl7j0prOj6bZDm8ZZsGxyjaStr7GDiDujRUu2oPBssQ Tq31w5hnLzWGQSIzaIDA3BgfXL6xW6JBCoyPIu2HAU4MniBBSSHw1OV26yHuwgwfieNP MqUtF8nfmuorJe5+hV4R1To2xmanqg/3sLqQu3+ORXDdDadejtJ5k0i2okxaZ1ehsprT mt5XDWpG88HIymSM4VajmM8lD74B0Y02mOb0yGVltTTMSd7+dcjaoqGepsUhh4Qcfqzm LuNjdWHIz94LsUQV8RljB1p7rljfVoLEvfGslcpIiXRZpIJ5u+2mwLUcUyse5nyVe5iP qJyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="KAn4nS/O"; 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 y10-20020aa7ccca000000b004612220a97fsi4724704edt.100.2022.10.22.00.38.53; Sat, 22 Oct 2022 00:39:17 -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="KAn4nS/O"; 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 S230437AbiJVHiD (ORCPT + 99 others); Sat, 22 Oct 2022 03:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbiJVHg4 (ORCPT ); Sat, 22 Oct 2022 03:36:56 -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 44DAA246C18; Sat, 22 Oct 2022 00:35:29 -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 EF2C9B82DF0; Sat, 22 Oct 2022 07:35:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50D9EC433D7; Sat, 22 Oct 2022 07:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666424123; bh=HjO84Ehz41YJ8eOElHAagtRlH7Cx52E9B3ic4oIAI34=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KAn4nS/OhgSJdWDAyzrSijluKsOO1aHkcrod0usWF0Is36dVe2bEmZPQU+Ij7uEcc GvIH4cPmOYG/A0bBGFJxKjrTFOTtW8IdPHnIVPwltdzsDCtL6jrf9cMZucxW9nJOuY zno1TBL1I76qjhAFojNWwhTw7D2XUF7iNRq7Wwgs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Luke D. Jones" , Takashi Iwai Subject: [PATCH 5.19 008/717] ALSA: hda/realtek: Add quirk for ASUS GV601R laptop Date: Sat, 22 Oct 2022 09:18:07 +0200 Message-Id: <20221022072416.541252091@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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?1747372586744199145?= X-GMAIL-MSGID: =?utf-8?q?1747372586744199145?= From: Luke D. Jones commit 2ea8e1297801f7b0220ebf6ae61a5b74ca83981e upstream. The ASUS ROG X16 (GV601R) 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 Cc: Link: https://lore.kernel.org/r/20221010070347.36883-1-luke@ljones.dev Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9376,6 +9376,7 @@ static const struct snd_pci_quirk alc269 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, 0x1f92, "ASUS ROG Flow X16", 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), SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC),