From patchwork Fri Oct 28 10:27:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 12222 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp744464wru; Fri, 28 Oct 2022 03:35:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6qbJ7Z02gx6bl+lQyYZezmPsto+/TRNFNoTIp+AiZHZmt3GV24M4z1fdj528OqX83xtptC X-Received: by 2002:a17:906:fe0a:b0:76f:e373:d84b with SMTP id wy10-20020a170906fe0a00b0076fe373d84bmr46566708ejb.297.1666953336159; Fri, 28 Oct 2022 03:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666953336; cv=none; d=google.com; s=arc-20160816; b=wwsHf8KXD+/XKE7S9qTwxe6WHyGkr6bfSPalXtJ6tkgfdNGo8i7a9k9GK0v7A93CzC pDWFFkwGJN50zX84LRvUv6foMjjUXVTcTo6mb4+4Za4Sd2enGkRcPhxWTf2Rw+rCXo10 binM7ARA+S7kk/GF3eGMpU5bzTKuSo+5Rv/W19FHLCvUz1t/BUWLQ1CK85jFo+5FXBNA Eo2dupgqPINCXfScH+rq4dS0oDWnsyeh27Ik0840+GyzSMvaRnOYrCo0ZuA2aBQt7sdu E241goLBssx51zlVvKM/WRYZEuF/Wg8ArTAyHm0KBWmqFHs4fT3ALTAH02bn4sf3qw16 igJA== 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=OzT4Gt69XWBmuQAva6s+oI0KZ1tAj7O3wcHzoxG9PKA=; b=o77+53j8WGo3mzZAIFsEktzYGvOmwD6+ugKnFyJ3A/iOscm014CGYNLIN7xew/u8hV Av88E+7FcR4vvD5zun+S02Sobim5h5Ny8T4HOTw3Sf27gHPa0ogduzh/FA2xKQlLB/MM V3VGRHvyDP4zcM1AlF7UgD2o+TksRY6dLzMsxlnXOfg8VXvWMIP5OuaLysKTJnJskgPd Ikote8qoFq/Dy+6deAtiSZ8JXyUO3qDc0j7+Ag8QbRvrYRDPoP/6dWV6mdajmWcAkX1V wXah69SkV5kUlx2e5GbVff7FMm8rhpTCzfV/eLszSCuESybFVxYDuwrTwZ+wqJHtWfZN a4og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=qSw5M9DL; 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 24-20020a508758000000b00461a32e0e38si3717357edv.306.2022.10.28.03.35.12; Fri, 28 Oct 2022 03:35:36 -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=qSw5M9DL; 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 S229779AbiJ1K2k (ORCPT + 99 others); Fri, 28 Oct 2022 06:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbiJ1K2g (ORCPT ); Fri, 28 Oct 2022 06:28:36 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBEF45FC0E for ; Fri, 28 Oct 2022 03:28:34 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 29S8GWBB025212; Fri, 28 Oct 2022 05:27:54 -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=OzT4Gt69XWBmuQAva6s+oI0KZ1tAj7O3wcHzoxG9PKA=; b=qSw5M9DLxOSYMYfL5zaOGwIm1Sy5N18sCffeFuYwtfy5dPB8hapUY6VWSXIeXRw6vXla PCOINUsoOWiPRy5pBGU9OvPCX9uV2tIE7pbBnJ1GeIr3eFo7DMJzZ+oP+z3Z0d5A4c8x kDRGG1Pj37w++wYeoyBCunMCODLyLCWnF0Yg56kFMsu7m9+aMFoEHYc9z7ErTot9l1ca U6flmTcnl10xEVfoUgGqskOuxvGzZdzFGTBJhu7dgQfsi6ecJis3nhmJ6FMevo2qSTEp APBGowlwZI9Dxfb2qmgEPO2ut4gO6uSn3jyeV9ft7tG4a8gd9BYRyqfSMD7bHKPkBcuc lQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3kfaq1a7xs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Oct 2022 05:27:54 -0500 Received: from ediex01.ad.cirrus.com (198.61.84.80) 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; Fri, 28 Oct 2022 05:27:52 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.12 via Frontend Transport; Fri, 28 Oct 2022 05:27:52 -0500 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.202.160]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 93F8EB06; Fri, 28 Oct 2022 10:27:52 +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: Fri, 28 Oct 2022 11:27:42 +0100 Message-ID: <20221028102742.2588687-1-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: uVLVHDzsVvcSQDhgDejHTJwFmA6x4T1O X-Proofpoint-GUID: uVLVHDzsVvcSQDhgDejHTJwFmA6x4T1O X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1747927261072584730?= X-GMAIL-MSGID: =?utf-8?q?1747927261072584730?= This Asus Zenbook laptop use Realtek HDA codec combined with 2xCS35L41 Amplifiers using I2C with Internal 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 701a72ec5629a..b4f7ff8cfe41b 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9404,6 +9404,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, 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, 0x1f12, "ASUS UM5302", ALC287_FIXUP_CS35L41_I2C_2), 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),