]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
authorJosé Relvas <josemonsantorelvas@gmail.com>
Wed, 31 Jan 2024 11:34:09 +0000 (11:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:02 +0000 (09:25 +0100)
commit0f48dea0926dfbdc23aebf33865c5fdcba05e4d0
treefa2d31f5a3ce29d628cfac569f146bfc3956ab6b
parent1a2f08576e3027307aca503da08cb2707429dfe8
ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads

commit 2468e8922d2f6da81a6192b73023eff67e3fefdd upstream.

There currently exists two thinkpad headset jack fixups:
ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK
ALC285_FIXUP_THINKPAD_HEADSET_JACK

The latter is applied to alc285 and alc287 thinkpads which contain
bass speakers.
However, the former was only being applied to alc285 thinkpads,
leaving non-bass alc287 thinkpads with no headset button controls.
This patch fixes that by adding ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK
to the alc287 chains, allowing the detection of headset buttons.

Signed-off-by: José Relvas <josemonsantorelvas@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20240131113407.34698-3-josemonsantorelvas@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c