diff options
author | David Henningsson <david.henningsson@canonical.com> | 2015-06-24 04:46:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 13:10:02 -0400 |
commit | 704ffc4cf721867e35cb922b12cae3210d6f7e67 (patch) | |
tree | e150b9d268711deb8c9bde0b2945725b2c629197 /sound | |
parent | 08e394684b82b0987295d96201071f52504c83f5 (diff) |
ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out
commit ec56af67a10a0d82b79027878a81fce08d002d50 upstream.
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
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6d010452c1f5..9b0f1ed02cc9 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4505,6 +4505,7 @@ enum { | |||
4505 | ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC, | 4505 | ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC, |
4506 | ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, | 4506 | ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, |
4507 | ALC292_FIXUP_TPT440_DOCK, | 4507 | ALC292_FIXUP_TPT440_DOCK, |
4508 | ALC292_FIXUP_TPT440_DOCK2, | ||
4508 | ALC283_FIXUP_BXBT2807_MIC, | 4509 | ALC283_FIXUP_BXBT2807_MIC, |
4509 | ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED, | 4510 | ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED, |
4510 | ALC282_FIXUP_ASPIRE_V5_PINS, | 4511 | ALC282_FIXUP_ASPIRE_V5_PINS, |
@@ -4953,6 +4954,12 @@ static const struct hda_fixup alc269_fixups[] = { | |||
4953 | .chain_id = ALC269_FIXUP_HEADSET_MODE | 4954 | .chain_id = ALC269_FIXUP_HEADSET_MODE |
4954 | }, | 4955 | }, |
4955 | [ALC292_FIXUP_TPT440_DOCK] = { | 4956 | [ALC292_FIXUP_TPT440_DOCK] = { |
4957 | .type = HDA_FIXUP_FUNC, | ||
4958 | .v.func = alc269_fixup_pincfg_no_hp_to_lineout, | ||
4959 | .chained = true, | ||
4960 | .chain_id = ALC292_FIXUP_TPT440_DOCK2 | ||
4961 | }, | ||
4962 | [ALC292_FIXUP_TPT440_DOCK2] = { | ||
4956 | .type = HDA_FIXUP_PINS, | 4963 | .type = HDA_FIXUP_PINS, |
4957 | .v.pins = (const struct hda_pintbl[]) { | 4964 | .v.pins = (const struct hda_pintbl[]) { |
4958 | { 0x16, 0x21211010 }, /* dock headphone */ | 4965 | { 0x16, 0x21211010 }, /* dock headphone */ |