From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796381497; b=jnjGsy3DAQU6fZW8ZKKwwpQdOyHxTh4Wa22/O4KDYougJoxpQ3vO1fRC9VhuPuGMWoxL CRhZa6UkzZTbD6VvE49GwjYgQR+h1hjhOoimiEZNbnOQKv+N/4Vd/rVmzhUYsWGbpyCsj jMOTnv7Bn3YWP8s1f2CQHIsdFCsQz+9Cjrq5B9Z4zHlbTY7zOEtAFDDW+i+qSVBdPAs0c 00vgOs4R3TNyBg81TPm5Nh0SQyUfagsaKOP/9wKVSWqGeTR15cWcs/kN2im+y6NYPMMov 0TZYjBfimVgjbNv9jfDgeDrz83ljv3dMtTJjgtB5r4rKNuz8lWv/H/uojllnuBk0UGA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381497; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=HDnf6FTmYT/PsrVj7koJ7E3mNA8BOD3Hupt+zjDyjO4=; b=WumcMKtnJF0RKExDHQNzUTaQvoPLl97ziky6Gsto1k72xo+jxZiGayty4YCohVrq5p6c 1nMfwG2adNS2Bgy6OsHbPm/jB91SHgUMh9S5S8xLS2+HoSQu4E/NBqNkLUI49AGvfYWlJ pTOq8x29Qe4PKP7tsIoDqfI7TGWccVm0Kh36JMFUFoEkrcPiPgCbDWPSsFl7uw+VPXZHR WVYTyNZpJ6VipZksZN+7MBRS9uewNrCLNb8A70jZe6AobXEKSfDSq/Ouk7a8K74HaRczd 5hjEn5kXVNH14pf2Oktuawe6DvUyst3AVHJkuMU/lTJIkqvNdKKghPAPleS9NW5Swzw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="P9j7/Jc+"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF518606A32F; Fri, 4 Dec 2026 10:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=P9j7/Jc+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 355171F0092C; Fri, 4 Dec 2026 10:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796381497; bh=HDnf6FTmYT/PsrVj7koJ7E3mNA8BOD3Hupt+zjDyjO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=P9j7/Jc+9EeUU6mJEgWPVQQDyIxDBjAWbHOw3pjLjW+P+QqjsCKl8L13/9m11pVrP xF1PpZYECKf1E0JleWt9uZ38OFpV4m5kH2h3K5Qr/aooBJGxy9X532QvCYL2xqtpa9 7RhRwgz2FZd704H/Nh/d6FU4PvHp0zxZ6V5dx+88= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Abhiraj Dutta , Takashi Iwai Subject: [PATCH 7.3 703/742] ALSA: hda/realtek: Add quirk for HP Spectre x360 2-in-1 Laptop 16-f2xxx Date: Fri, 4 Dec 2026 19:09:27 +0900 Message-ID: <20261204100653.730881223@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Abhiraj Dutta commit e30ec632e1f0e1fb92b3f0d727f5bc0c00ada6eb upstream. The HP Spectre x360 16-f2xxx (SSID 103c:891e) has the same speaker problem as the 14-eu0xxx and 16-aa0xxx: the BIOS marks the treble speaker pin 0x14 as unconnected, so only the bass speakers on 0x17 play. The mute and mic-mute LEDs don't work either. Use the existing EU0XXX pin fixup and chain ALC245_FIXUP_HP_X360_MUTE_LEDS. The mute LED is on COEF 0x0b bits 2-3 and the mic-mute LED on GPIO2 (active low), which is what that fixup already handles. Unlike the 16-aa0xxx, the bass speaker amp works without toggling GPIO0, so the EU0XXX variant is enough. Under SOF the PCI SSID on this machine reads as 103c:0000, so the entry is matched against the codec SSID. Tested on a 16-f2xxx: all four speakers play and both LEDs follow the mute state. Cc: stable@vger.kernel.org Signed-off-by: Abhiraj Dutta Link: https://patch.msgid.link/20261122-hp-spectre-16-f2-quirk-v1-1-2011ef8986fb@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/hda/codecs/realtek/alc269.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/sound/hda/codecs/realtek/alc269.c +++ b/sound/hda/codecs/realtek/alc269.c @@ -4401,6 +4401,7 @@ enum { ALC256_FIXUP_HEADPHONE_AMP_VOL, ALC245_FIXUP_HP_SPECTRE_X360_EU0XXX, ALC245_FIXUP_HP_SPECTRE_X360_16_AA0XXX, + ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX, ALC245_FIXUP_HP_ZBOOK_FIREFLY_G12A, ALC285_FIXUP_ASUS_GA403U, ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC, @@ -7025,6 +7026,12 @@ static const struct hda_fixup alc269_fix .type = HDA_FIXUP_FUNC, .v.func = alc245_fixup_hp_spectre_x360_16_aa0xxx, }, + [ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc245_fixup_hp_spectre_x360_eu0xxx, + .chained = true, + .chain_id = ALC245_FIXUP_HP_X360_MUTE_LEDS + }, [ALC245_FIXUP_HP_ZBOOK_FIREFLY_G12A] = { .type = HDA_FIXUP_FUNC, .v.func = alc245_fixup_hp_zbook_firefly_g12a, @@ -7648,6 +7655,7 @@ static const struct hda_quirk alc269_fix SND_PCI_QUIRK(0x103c, 0x8902, "HP OMEN 16", ALC285_FIXUP_HP_MUTE_LED), SND_PCI_QUIRK(0x103c, 0x890e, "HP 255 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2), SND_PCI_QUIRK(0x103c, 0x8919, "HP Pavilion Aero Laptop 13-be0xxx", ALC287_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x891e, "HP Spectre x360 2-in-1 Laptop 16-f2xxx", ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX), SND_PCI_QUIRK(0x103c, 0x896d, "HP ZBook Firefly 16 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x896e, "HP EliteBook x360 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8971, "HP EliteBook 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),