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=1796382932; b=jJRvfV7jRqCAHPNwzwWim4+VIJL6DT9n9x1Ue346cWUc7KugxPQb/2Jt3leLmn59EOF5 TOGsae77TVleO5KEKE+Vu/2D3KyoIeGOr9nZswZadyeTGmtTrWtbmhtsMw2hzLex+eSSv jiSfSuPoe34x9bbnhvmvOfFOfqSKaWZ08AFF+aYsONSIQ3wMbP6UINqpIY0yBMdG4rRSC cUsZZR4viB8pPEg5euANiKHstBoszXhzknRReZo4uzSZmPCiOJ4Ce+Ie+Qc6CzOWlOWXQ 1wEeQ7aXfggFcypzpsvhnlc/iyYUX1VfEtapQhsDJL4Y5OWa8IIDhuSC6gR6OtmTcCQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796382932; 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=q/k2rQT4D+t1YKC+Di9NoVETSrQG8caDrS50rM7OD1E=; b=joWYUzh0GRh1wmEhfnn0PnbWeHCdhDHWDv5HdaUp8PcDkfQjlrPSC2RzVqwpCzINERBF /jg3Ttx9yDbT2ihwnmNypTPv5utE2K+ATP5/aLpJ9LvPbnFIBXzOC4x4VF6XpqxbxqQh3 aJYztyuKaWZF4bwj8dPqUVpcEbpa5m2Zb4+cvjPhukUcWmcZW6sXz/1vTdnYg+/MPqy+z 4D5Sy1j+qNiSxdvpmGCaZS0wPEUK8RcswW80NxfVFzn2nq5ah7CE5z8NU5m3b2PWtqTL+ c80+7bogf/4f8ZgnFIbpBAApcNOCBjCymC4D/QdYmNXXc0aJfBEdRyho5qasxm4U7Tg== 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=DJT7rnvm; 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 DA3E3606A32C; Fri, 4 Dec 2026 11:15:32 +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=DJT7rnvm Received: by smtp.kernel.org (Postfix) with ESMTPSA id F33EA1F000C2; Fri, 4 Dec 2026 11:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796382932; bh=q/k2rQT4D+t1YKC+Di9NoVETSrQG8caDrS50rM7OD1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=DJT7rnvmgYt8Vn3n+L9AoVxo8IKoVU+d1GiKpi+l6/U9um5AGIu1ZKxdkBhJbPuST 0Xhd+A+mENCCNv/fGaX+A3E/x2BuKSIbnsEyv/Ni4cNwI4icHlLbfav2lqFQ3A64ZA AVEFe4gTSTdGe7rWOzNPi8nPuYme3b4eCWYm5sG0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Abhiraj Dutta , Takashi Iwai Subject: [PATCH 6.18 628/703] ALSA: hda/realtek: Add quirk for HP Spectre x360 2-in-1 Laptop 16-f2xxx Date: Fri, 4 Dec 2026 19:08:47 +0900 Message-ID: <20261204100644.495740320@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100627.522266145@linuxfoundation.org> References: <20261204100627.522266145@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 6.18-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 @@ -4029,6 +4029,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, @@ -6533,6 +6534,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, @@ -7007,6 +7014,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),