diff options
author | David Henningsson <david.henningsson@canonical.com> | 2012-06-12 07:15:12 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-06-12 11:55:46 -0400 |
commit | edfe3bfc1b779ddda9bcff523eb022dda37b93c8 (patch) | |
tree | 8bd9bf11ec07192557c291e895d45bd537f0a1f1 /sound | |
parent | 8b21460ac6c0c88a0fec1cc70906c8e25c5aaa54 (diff) |
ALSA: HDA: Pin fixup for Zotac Z68 motherboard
Pin 0x1b was connected to the front panel connector, which according to
the HDA standard should contain a mic and a headphone. In this case,
the headphone was listed as "line out" by BIOS.
Cc: stable@kernel.org
BugLink: https://bugs.launchpad.net/bugs/993162
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 224410e8e9e7..b8966817ccfb 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -6439,6 +6439,7 @@ enum { | |||
6439 | ALC662_FIXUP_ASUS_MODE7, | 6439 | ALC662_FIXUP_ASUS_MODE7, |
6440 | ALC662_FIXUP_ASUS_MODE8, | 6440 | ALC662_FIXUP_ASUS_MODE8, |
6441 | ALC662_FIXUP_NO_JACK_DETECT, | 6441 | ALC662_FIXUP_NO_JACK_DETECT, |
6442 | ALC662_FIXUP_ZOTAC_Z68, | ||
6442 | }; | 6443 | }; |
6443 | 6444 | ||
6444 | static const struct alc_fixup alc662_fixups[] = { | 6445 | static const struct alc_fixup alc662_fixups[] = { |
@@ -6588,6 +6589,13 @@ static const struct alc_fixup alc662_fixups[] = { | |||
6588 | .type = ALC_FIXUP_FUNC, | 6589 | .type = ALC_FIXUP_FUNC, |
6589 | .v.func = alc_fixup_no_jack_detect, | 6590 | .v.func = alc_fixup_no_jack_detect, |
6590 | }, | 6591 | }, |
6592 | [ALC662_FIXUP_ZOTAC_Z68] = { | ||
6593 | .type = ALC_FIXUP_PINS, | ||
6594 | .v.pins = (const struct alc_pincfg[]) { | ||
6595 | { 0x1b, 0x02214020 }, /* Front HP */ | ||
6596 | { } | ||
6597 | } | ||
6598 | }, | ||
6591 | }; | 6599 | }; |
6592 | 6600 | ||
6593 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { | 6601 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { |
@@ -6601,6 +6609,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { | |||
6601 | SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD), | 6609 | SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD), |
6602 | SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), | 6610 | SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), |
6603 | SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), | 6611 | SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), |
6612 | SND_PCI_QUIRK(0x19da, 0xa130, "Zotac Z68", ALC662_FIXUP_ZOTAC_Z68), | ||
6604 | SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T), | 6613 | SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T), |
6605 | 6614 | ||
6606 | #if 0 | 6615 | #if 0 |