From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0C12831619A; Mon, 13 Apr 2026 16:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776099238; cv=none; b=lEi1o4MoZmk3WcE2ENZhlL/vNY4QDoLAKJdE42S7aP4PcvVhku4VEcp0mjrHdYWbDEZX5YPdKg00rmZnGc0t6m2/WwSsJSt/68qbt1INbOoCIeIj+/TvSU2BFwg9I5j40/7BBi/CkQFBme4Fst2WM+V18+52ODxFvy7oTNkPgJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776099238; c=relaxed/simple; bh=VnlOHg2YpjYunilpJuLksvPntoTMrmI2JWiPObun3x8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Px2D09TDJhSH5ULPPXCTQ/nTeTNQDqBjF3TyIVDNQFMvPwH2Au/E2QtQ0tMet/kvFeDojGjSYzw5S+MMl2WzNgNtn8w0bUlimuV75QkP8LcHI8BWN7z/mrsEXyuFk5uZq4m68oQdRLaoqAFME0XVOXFzwmzrWzoZsxH8mxuNtYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T6kccsWx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="T6kccsWx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96BACC2BCAF; Mon, 13 Apr 2026 16:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776099237; bh=VnlOHg2YpjYunilpJuLksvPntoTMrmI2JWiPObun3x8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T6kccsWx/NHjGqlxmHkF7Av72HTK6exG/Xz86jYlu746xGqczrUjQEJUH5dOXNJic 1n1reuPEMSbXpwbYhUuz4Op3sDIcRBn/CrFlMls2Yc/fByXCEMnnP+K1mZR3/wUz8W EBvI2x1pNkk4Hb3g76S2XV9kKCu55Z2yAPns9O8w= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Uzair Mughal , Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 246/491] ALSA: hda/realtek: Add headset jack quirk for Thinkpad X390 Date: Mon, 13 Apr 2026 17:58:11 +0200 Message-ID: <20260413155828.265863973@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260413155819.042779211@linuxfoundation.org> References: <20260413155819.042779211@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Uzair Mughal [ Upstream commit 542127f6528ca7cc3cf61e1651d6ccb58495f953 ] The Lenovo ThinkPad X390 (ALC257 codec, subsystem ID 0x17aa2288) does not report headset button press events. Headphone insertion is detected (SW_HEADPHONE_INSERT), but pressing the inline microphone button on a headset produces no input events. Add a SND_PCI_QUIRK entry that maps this subsystem ID to ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK, which enables headset jack button detection through alc_fixup_headset_jack() and ThinkPad ACPI integration. This is the same fixup used by similar ThinkPad models (P1 Gen 3, X1 Extreme Gen 3). Signed-off-by: Uzair Mughal Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/20260307012906.20093-1-contact@uzair.is-a.dev Signed-off-by: Sasha Levin --- 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 b8c7f4c8593ba..7ea036f820f54 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9527,6 +9527,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x224c, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), SND_PCI_QUIRK(0x17aa, 0x224d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), + SND_PCI_QUIRK(0x17aa, 0x2288, "Thinkpad X390", ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK), SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK), SND_PCI_QUIRK(0x17aa, 0x22be, "Thinkpad X1 Carbon 8th", ALC285_FIXUP_THINKPAD_HEADSET_JACK), SND_PCI_QUIRK(0x17aa, 0x22c1, "Thinkpad P1 Gen 3", ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK), -- 2.51.0