From patchwork Tue Oct 18 12:15:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 4146 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1930579wrs; Tue, 18 Oct 2022 05:24:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7bH/vhzwoMdP+gBajsXeW0yri8EqrBo6Yc4oRG4xPDCCPdMaQ0z+Ucekhbzz+gxUlN/z8U X-Received: by 2002:a17:907:2cca:b0:78d:ec48:ac29 with SMTP id hg10-20020a1709072cca00b0078dec48ac29mr2198808ejc.114.1666095869442; Tue, 18 Oct 2022 05:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666095869; cv=none; d=google.com; s=arc-20160816; b=pZFm+Fk0T+XDZaDmpl9m3CNX6CG493ikYoE3eIpFKVbxwZWr6TMt4cmi3sLS3jQ7mz v2InDCxhdbyrR7x1Pr621xQYXTgy5qVKG5gSpH6f4HtEqip1rqml62tjF2VhMKfIIQ6/ Xg07Z/78nxfgIONnO3FbAjAY1x9xuDtYmVsl7M6pbyDjYqcrCbmMuzIkZ5SmlINcMRaM 5fqIJokTquVjMetATeqS3okkNqQUeF041bST1JgAup3BOAhea2Cwnv9OEaawC0K9qe27 AZpfu/oiOQvmwsOzPAcnpBAm2Zo4OnmcDRnpmqC/Hcj+R0KZm9lgSBp5DCVdNYU7lL3/ oAxw== 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:dkim-signature; bh=5lkbPUG2iQ0fnGNAiz9q7noN0jNjL0kNuPNA6gMGavE=; b=yfcKCDAkvHChENsVt3t/DQFyVLUeLr7ZuodIHXa6HWTL7hMpEZ8Yp1QQw0tQpiRyeo 3s6iibKtQua+1RiAeJyP+VKzllZ5/krhUdwOstTgysf/Acgv4j+5hhJGdlWogHgkL0eG 5AHSzHEDyPL9cwlRHTccL5jHi8iG4HcwAgNgIGPYZeRtxlBSbnlfbSLKfcVG2ushr5dk LsYmYZJ2CoIgRZjDgYCbFt3wPUU/bdM5RLTRCpwHf4dCTPm6fG0RdczkIzrqCfRkrGyy W/IPwWVlbeiYT6sdMmhmuV/gmmq47WX5fR4e0i2H+Z6L1WsQm7V6d5BfqMZ+gEGuLbXB GZeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="cq/c9PPU"; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a1709062a9300b0078d9b5792a0si10074953eje.319.2022.10.18.05.23.30; Tue, 18 Oct 2022 05:24:29 -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=@cirrus.com header.s=PODMain02222019 header.b="cq/c9PPU"; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiJRMQH (ORCPT + 99 others); Tue, 18 Oct 2022 08:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiJRMQA (ORCPT ); Tue, 18 Oct 2022 08:16:00 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A1C0AD9BB for ; Tue, 18 Oct 2022 05:15:56 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29IBBEGE030648; Tue, 18 Oct 2022 07:15:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=5lkbPUG2iQ0fnGNAiz9q7noN0jNjL0kNuPNA6gMGavE=; b=cq/c9PPUz5dJQQiCC+sF4gX6/y1wjkZCrojs4Dltob2ro0l1Eraf+OwzSiWxGMh+IVUU SZNqZNmcAPGZTUrjIbE+BJdY8QiEYb9gHRWZ2V6ETf41j0GAoNRsRCar1mPvmRkeTYBh Qbyne+sTVBNLmEuEeG8mcMb6zhd5MpREXXO2TXqHjVflxPUPOWMFxCG0f2COg8De0fXM 1a29Rq+mV+KgeWFDG039L3uGXAGJan/YjRBXoHSTWyqhUn+DDhsDnV+pz48VLmVrcq67 d06ALtq4ay/WMJUUNVWnNoYDNoTvCnET4mr2RleGi98wr+TFmSnU/D9zdB372SN8qNtP BA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3k7t92cugx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Oct 2022 07:15:11 -0500 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Tue, 18 Oct 2022 07:15:09 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.12 via Frontend Transport; Tue, 18 Oct 2022 07:15:09 -0500 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.202.160]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 7D96246B; Tue, 18 Oct 2022 12:15:09 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , Stefan Binding Subject: [PATCH v1] ALSA: hda/realtek: Add quirk for ASUS Zenbook using CS35L41 Date: Tue, 18 Oct 2022 13:15:06 +0100 Message-ID: <20221018121506.2561397-1-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: Uv8UETKSdvQZV3QqRoICQTB7xeZdbrPC X-Proofpoint-GUID: Uv8UETKSdvQZV3QqRoICQTB7xeZdbrPC X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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?1747028142343908513?= X-GMAIL-MSGID: =?utf-8?q?1747028142343908513?= This Asus Zenbook laptop use Realtek HDA codec combined with 2xCS35L41 Amplifiers using SPI with External Boost. Signed-off-by: Stefan Binding --- 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 7c177426bf303..79acd2a2caf20 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9395,6 +9395,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { 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), + SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402", ALC245_FIXUP_CS35L41_SPI_2), 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, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),