From patchwork Thu Jun 6 13:03:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 802364 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 F322DC27C54 for ; Thu, 6 Jun 2024 13:17:11 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 49A7B82B; Thu, 6 Jun 2024 15:17:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 49A7B82B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1717679830; bh=XgoPJUd+bBN04TXRU9XnDTVGOMcux7DlhJ1saFdp+Xc=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=rN1auCEWphn57ylRp6H6bkqvKh4vEII5NBZgRlanZSz2UG6scE769z2qPr+eMKvX4 3Oe1dgNx3PzVgD2WMhfDcSLhjyiW6DVJXx4ko8Z6oIUYTLkc7vpLcgVBXuMpJ9XSfw 4lv8Veaw5xBsdEIpUowLYPPoaNpapZnOrFotZVg0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BB510F8057A; Thu, 6 Jun 2024 15:16:39 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 773E0F8058C; Thu, 6 Jun 2024 15:16:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 79BD3F8025A; Thu, 6 Jun 2024 15:16:34 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0A5EEF8001D for ; Thu, 6 Jun 2024 15:16:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0A5EEF8001D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=Ts9YF4+L Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4565uenB010646; Thu, 6 Jun 2024 08:04:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= PODMain02222019; bh=uzLIpnXo22STGFdd/jwh3NFmWPS7od+JawZ3ySQ0Msg=; b= Ts9YF4+LBkz8e/3l8prlLZuOixZJXsxhCTXXJiLjAX8WlVVJLwZa2mGnwA+DFy+q xVju6XDazTq28myFj4uZf8sdRlyoG+60h+/XAHwLbQ04WDaKen0FeAP+l4FXkIi4 9lJrgUbQpn8JgCuX8BsvqqTvmycdL3NUs9je5EAR3uiaQ8Uk9zG+WrHSm4uHfQxj 1u9K8+J6gM6uVucrMu9ee89N9xF0isxT9VGv7PMxw1az68Kq0pXSZ00YqcObwsNC h4B+JhtB+53Iw8Id1Tq1T1PCUgbvhKPe8fTHH0SAbrTUh/dbb5vZjupovArJhKdK Bpe1UVsZLYzO0RYme04wlg== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3yg11xw66m-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 08:04:07 -0500 (CDT) 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.1544.9; Thu, 6 Jun 2024 14:03:57 +0100 Received: from ediswmail9.ad.cirrus.com (198.61.86.93) by anon-ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1544.9 via Frontend Transport; Thu, 6 Jun 2024 14:03:57 +0100 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.61.65.44]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTP id 987D1820249; Thu, 6 Jun 2024 13:03:57 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 4/4] ALSA: hda/realtek: Support Lenovo Thinkbook 13x Gen 4 Date: Thu, 6 Jun 2024 14:03:51 +0100 Message-ID: <20240606130351.333495-5-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240606130351.333495-1-sbinding@opensource.cirrus.com> References: <20240606130351.333495-1-sbinding@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-GUID: 6O4_7rtS4rEXPjVSboSkGsaHwvy_mlJD X-Proofpoint-ORIG-GUID: 6O4_7rtS4rEXPjVSboSkGsaHwvy_mlJD X-Proofpoint-Spam-Reason: safe Message-ID-Hash: K25BE5DTC6FWZ46YG6DC5DPWD4CTOZJT X-Message-ID-Hash: K25BE5DTC6FWZ46YG6DC5DPWD4CTOZJT X-MailFrom: prvs=388799c159=sbinding@opensource.cirrus.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add support for this laptop, which uses CS35L41 HDA amps. The laptop does not contain valid _DSD for these amps, so requires entries into the CS35L41 configuration table to function correctly. Signed-off-by: Stefan Binding --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6cb258978666..621b525a3c14 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10540,6 +10540,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x38be, "Yoga S980-14.5 proX YC Dual", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38bf, "Yoga S980-14.5 proX LX Dual", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38c3, "Y980 DUAL", ALC287_FIXUP_TAS2781_I2C), + SND_PCI_QUIRK(0x17aa, 0x38c7, "Thinkbook 13x Gen 4", ALC287_FIXUP_CS35L41_I2C_4), + SND_PCI_QUIRK(0x17aa, 0x38c8, "Thinkbook 13x Gen 4", ALC287_FIXUP_CS35L41_I2C_4), SND_PCI_QUIRK(0x17aa, 0x38cb, "Y790 YG DUAL", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38cd, "Y790 VECO DUAL", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38d2, "Lenovo Yoga 9 14IMH9", ALC287_FIXUP_YOGA9_14IMH9_BASS_SPK_PIN),