Skip to content

Commit c636b95

Browse files
ecsvtiwai
authored andcommitted
ALSA: hda/realtek - Enable the ALC292 dock fixup on the Thinkpad T460s
The Lenovo Thinkpad T460s requires the alc_fixup_tpt440_dock as well in order to get working sound output on the docking stations headphone jack. Patch tested on a Thinkpad T460s (20F9CT01WW) using a ThinkPad Ultradock on kernel 4.4.6. Signed-off-by: Sven Eckelmann <sven@narfation.org> Tested-by: Simon Wunderlich <sw@simonwunderlich.de> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent dc5027a commit c636b95

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4760,6 +4760,7 @@ enum {
47604760
ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
47614761
ALC280_FIXUP_HP_HEADSET_MIC,
47624762
ALC221_FIXUP_HP_FRONT_MIC,
4763+
ALC292_FIXUP_TPT460,
47634764
};
47644765

47654766
static const struct hda_fixup alc269_fixups[] = {
@@ -5409,6 +5410,12 @@ static const struct hda_fixup alc269_fixups[] = {
54095410
{ }
54105411
},
54115412
},
5413+
[ALC292_FIXUP_TPT460] = {
5414+
.type = HDA_FIXUP_FUNC,
5415+
.v.func = alc_fixup_tpt440_dock,
5416+
.chained = true,
5417+
.chain_id = ALC293_FIXUP_LENOVO_SPK_NOISE,
5418+
},
54125419
};
54135420

54145421
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -5563,7 +5570,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
55635570
SND_PCI_QUIRK(0x17aa, 0x2218, "Thinkpad X1 Carbon 2nd", ALC292_FIXUP_TPT440_DOCK),
55645571
SND_PCI_QUIRK(0x17aa, 0x2223, "ThinkPad T550", ALC292_FIXUP_TPT440_DOCK),
55655572
SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
5566-
SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC293_FIXUP_LENOVO_SPK_NOISE),
5573+
SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC292_FIXUP_TPT460),
55675574
SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
55685575
SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
55695576
SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
@@ -5658,6 +5665,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
56585665
{.id = ALC283_FIXUP_SENSE_COMBO_JACK, .name = "alc283-sense-combo"},
56595666
{.id = ALC292_FIXUP_TPT440_DOCK, .name = "tpt440-dock"},
56605667
{.id = ALC292_FIXUP_TPT440, .name = "tpt440"},
5668+
{.id = ALC292_FIXUP_TPT460, .name = "tpt460"},
56615669
{}
56625670
};
56635671
#define ALC225_STANDARD_PINS \

0 commit comments

Comments
 (0)