From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.brightberry.eu (mx.brightberry.eu [185.229.55.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22F0F309EE7 for ; Wed, 6 May 2026 18:33:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.229.55.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778092415; cv=none; b=uzltJvaTOKtbxoU8ArxxUVrg4ZuQO0Gr6Rraht5bHkhmOQThkKCbz02j3UThmv9/Tt9r/EoLSGMux1vrbiRVGzrJG51qidqJ/L0z8dLZrkWzvgS0dzT4mriRqfrg4PHmFPNJBl5ngyCTlCxf9G47AgXaLWlBwf8X7wLlIZHGd+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778092415; c=relaxed/simple; bh=ZFRFZrVkjqNZBHax1F2/Juf7EuDYvO80Hfsf06etGTU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=FIo+dcoPWUii38yar1p9GgE6qHepoBpkXMqj/HRspZ+w34jUxB3TalQr/+FThpuz//pgXInP3oUdJPrLJHf6gx+UG+GSBJIt6cLnem2GF/y9R5xLIZlFws49B934fR5MWjFbqLGoU/3qqv18RlTBrZhlOwEPH0QJ6a/Nw/TCpB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=vanraaij.eu; spf=pass smtp.mailfrom=vanraaij.eu; arc=none smtp.client-ip=185.229.55.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=vanraaij.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vanraaij.eu Received: from mx.brightberry.eu (localhost [127.0.0.1]) by mx.brightberry.eu (Proxmox) with ESMTP id EAC2F26CC; Wed, 06 May 2026 20:33:24 +0200 (CEST) Received: from yoga9-patch-38d5.eml (YST00841.fritz.box [192.168.178.64]) by mx.brightberry.eu (Proxmox) with ESMTP id CD7DF173; Wed, 06 May 2026 20:33:24 +0200 (CEST) From: =?UTF-8?q?R=C3=A1mon_van_Raaij?= To: linux-sound@vger.kernel.org Cc: alsa-devel@alsa-project.org, Takashi Iwai Subject: [PATCH] ALSA: hda/realtek: Add codec SSID quirk for Lenovo Yoga Pro 9 16IMH9 (17aa:38d5) Date: Wed, 06 May 2026 20:31:18 +0200 Message-Id: <20260506183118.patch1-ramon@vanraaij.eu> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some Lenovo Yoga Pro 9 16IMH9 units carry codec SSID 17aa:38d5 instead of 17aa:38d6, which was added in commit 56722cfbb78d ("ALSA: hda/realtek: Add codec SSID quirk for Lenovo Yoga Pro 9 16IMH9"). The corresponding firmware blob TAS2XXX38D5.bin already ships in linux-firmware, and the hardware is otherwise identical: same PCI subsystem ID 17aa:3811 shared with the Legion S7 15IMH05, same TI TAS2781 amplifiers behind ACPI HID TIAS2781, same ALC287_FIXUP_TAS2781_I2C requirement. Add a second HDA_CODEC_QUIRK entry directly above the existing 17aa:38d6 entry so both variants resolve to the correct fixup. Reported and verified on hardware by GitHub user 0xEthamin. Link: https://github.com/ramonvanraaij/yoga9-tas2781-hda/issues/1 Signed-off-by: RĂ¡mon van Raaij --- sound/hda/codecs/realtek/alc269.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c --- a/sound/hda/codecs/realtek/alc269.c +++ b/sound/hda/codecs/realtek/alc269.c @@ -7608,6 +7608,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { /* Yoga Pro 9 16IMH9 shares PCI SSID 17aa:3811 with Legion S7 15IMH05; * use codec SSID to distinguish them */ + HDA_CODEC_QUIRK(0x17aa, 0x38d5, "Lenovo Yoga Pro 9 16IMH9", ALC287_FIXUP_TAS2781_I2C), HDA_CODEC_QUIRK(0x17aa, 0x38d6, "Lenovo Yoga Pro 9 16IMH9", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x3811, "Legion S7 15IMH05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS), SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS), -- 2.54.0