aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-01-01 08:01:34 -0500
committerTakashi Iwai <tiwai@suse.de>2014-01-05 05:41:07 -0500
commitb2c53e206967d01fd4fb6dd525f89ae738beb2e6 (patch)
tree3e74552ed3eeb885b97559fac4e7725bbcad988b /sound/pci/hda
parent0822069f3f15b85c45d7bfd9397eff275983c5c8 (diff)
ALSA: hda - Disable Front HP jack detection on Gigabyte Z87X-UD3H
This motherboard seems to have a flaky jack detection - when the front HP is not present, the jack state quickly switches on and off. This has been reported by three people in the bug, so I doubt it's a user error this time. BugLink: https://bugs.launchpad.net/bugs/1248116 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 16c0caa7f014..6a705a81de35 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1810,6 +1810,7 @@ enum {
1810 ALC882_FIXUP_ACER_ASPIRE_7736, 1810 ALC882_FIXUP_ACER_ASPIRE_7736,
1811 ALC882_FIXUP_ASUS_W90V, 1811 ALC882_FIXUP_ASUS_W90V,
1812 ALC889_FIXUP_CD, 1812 ALC889_FIXUP_CD,
1813 ALC889_FIXUP_FRONT_HP_NO_PRESENCE,
1813 ALC889_FIXUP_VAIO_TT, 1814 ALC889_FIXUP_VAIO_TT,
1814 ALC888_FIXUP_EEE1601, 1815 ALC888_FIXUP_EEE1601,
1815 ALC882_FIXUP_EAPD, 1816 ALC882_FIXUP_EAPD,
@@ -2027,6 +2028,15 @@ static const struct hda_fixup alc882_fixups[] = {
2027 { } 2028 { }
2028 } 2029 }
2029 }, 2030 },
2031 [ALC889_FIXUP_FRONT_HP_NO_PRESENCE] = {
2032 .type = HDA_FIXUP_PINS,
2033 .v.pins = (const struct hda_pintbl[]) {
2034 { 0x1b, 0x02214120 }, /* Front HP jack is flaky, disable jack detect */
2035 { }
2036 },
2037 .chained = true,
2038 .chain_id = ALC889_FIXUP_CD,
2039 },
2030 [ALC889_FIXUP_VAIO_TT] = { 2040 [ALC889_FIXUP_VAIO_TT] = {
2031 .type = HDA_FIXUP_PINS, 2041 .type = HDA_FIXUP_PINS,
2032 .v.pins = (const struct hda_pintbl[]) { 2042 .v.pins = (const struct hda_pintbl[]) {
@@ -2258,7 +2268,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
2258 SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), 2268 SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD),
2259 SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD), 2269 SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD),
2260 SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), 2270 SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3),
2261 SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3", ALC889_FIXUP_CD), 2271 SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE),
2262 SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), 2272 SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX),
2263 SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), 2273 SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD),
2264 SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), 2274 SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD),