Skip to content

Commit 921991c

Browse files
jrelvas-ipcsmb49
authored andcommitted
ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
BugLink: https://bugs.launchpad.net/bugs/2061814 commit 2468e89 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 <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Portia Stephens <[email protected]> Signed-off-by: Roxana Nicolescu <[email protected]>
1 parent a156cc5 commit 921991c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9518,11 +9518,13 @@ static const struct hda_fixup alc269_fixups[] = {
95189518
.type = HDA_FIXUP_FUNC,
95199519
.v.func = cs35l41_fixup_i2c_two,
95209520
.chained = true,
9521-
.chain_id = ALC269_FIXUP_THINKPAD_ACPI,
9521+
.chain_id = ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK,
95229522
},
95239523
[ALC287_FIXUP_THINKPAD_I2S_SPK] = {
95249524
.type = HDA_FIXUP_FUNC,
95259525
.v.func = alc287_fixup_bind_dacs,
9526+
.chained = true,
9527+
.chain_id = ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK,
95269528
},
95279529
[ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD] = {
95289530
.type = HDA_FIXUP_FUNC,

0 commit comments

Comments
 (0)