Skip to content

Commit 2468e89

Browse files
jrelvas-ipctiwai
authored andcommitted
ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
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]>
1 parent f7c4cb4 commit 2468e89

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
@@ -9579,7 +9579,7 @@ static const struct hda_fixup alc269_fixups[] = {
95799579
.type = HDA_FIXUP_FUNC,
95809580
.v.func = cs35l41_fixup_i2c_two,
95819581
.chained = true,
9582-
.chain_id = ALC269_FIXUP_THINKPAD_ACPI,
9582+
.chain_id = ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK,
95839583
},
95849584
[ALC287_FIXUP_TAS2781_I2C] = {
95859585
.type = HDA_FIXUP_FUNC,
@@ -9606,6 +9606,8 @@ static const struct hda_fixup alc269_fixups[] = {
96069606
[ALC287_FIXUP_THINKPAD_I2S_SPK] = {
96079607
.type = HDA_FIXUP_FUNC,
96089608
.v.func = alc287_fixup_bind_dacs,
9609+
.chained = true,
9610+
.chain_id = ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK,
96099611
},
96109612
[ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD] = {
96119613
.type = HDA_FIXUP_FUNC,

0 commit comments

Comments
 (0)