aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2015-06-24 04:46:33 -0400
committerTakashi Iwai <tiwai@suse.de>2015-06-25 02:47:03 -0400
commitec56af67a10a0d82b79027878a81fce08d002d50 (patch)
tree70e2a731820cbf112cff5aba7afb95b153ce7970
parent60b93030b44a8c2cd015cebe5624fd7552ec67ec (diff)
ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out
Thinkpad X250, when attached to a dock, has two headphone outs but no line out. Make sure we don't try to turn this into one headphone and one line out (since that disables the headphone amp on the dock). Alsa-info at http://www.alsa-project.org/db/?f=36f8764e1d782397928feec715d0ef90dfddd4c1 Cc: stable@vger.kernel.org Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_realtek.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 431a20b17df4..8e02cdf21c0b 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4511,6 +4511,7 @@ enum {
4511 ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC, 4511 ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC,
4512 ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, 4512 ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
4513 ALC292_FIXUP_TPT440_DOCK, 4513 ALC292_FIXUP_TPT440_DOCK,
4514 ALC292_FIXUP_TPT440_DOCK2,
4514 ALC283_FIXUP_BXBT2807_MIC, 4515 ALC283_FIXUP_BXBT2807_MIC,
4515 ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED, 4516 ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED,
4516 ALC282_FIXUP_ASPIRE_V5_PINS, 4517 ALC282_FIXUP_ASPIRE_V5_PINS,
@@ -4960,6 +4961,12 @@ static const struct hda_fixup alc269_fixups[] = {
4960 .chain_id = ALC269_FIXUP_HEADSET_MODE 4961 .chain_id = ALC269_FIXUP_HEADSET_MODE
4961 }, 4962 },
4962 [ALC292_FIXUP_TPT440_DOCK] = { 4963 [ALC292_FIXUP_TPT440_DOCK] = {
4964 .type = HDA_FIXUP_FUNC,
4965 .v.func = alc269_fixup_pincfg_no_hp_to_lineout,
4966 .chained = true,
4967 .chain_id = ALC292_FIXUP_TPT440_DOCK2
4968 },
4969 [ALC292_FIXUP_TPT440_DOCK2] = {
4963 .type = HDA_FIXUP_PINS, 4970 .type = HDA_FIXUP_PINS,
4964 .v.pins = (const struct hda_pintbl[]) { 4971 .v.pins = (const struct hda_pintbl[]) {
4965 { 0x16, 0x21211010 }, /* dock headphone */ 4972 { 0x16, 0x21211010 }, /* dock headphone */