diff options
author | Marton Balint <cus@passwd.hu> | 2012-03-05 15:33:23 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-06 04:44:01 -0500 |
commit | 8f2392142346f2754c8292a94cc62a157ed1e093 (patch) | |
tree | 03ffff150293e7c5cae99139dc2d79236eed487d | |
parent | 019ae33410581e09f429fba5cbbf0daa96d6659a (diff) |
ALSA: hda - add quirk to detect CD input on Gigabyte EP45-DS3
My CD input got lost in commit 68ef0561efe494143516df38c03a16b837b8e79c.
Raymond helped me to add the necessary pin fixup to make it appear again. In
fact, this is basically his patch. It fixes alsa bug #5541.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-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 f286bb8fda13..5e530205bba4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4367,6 +4367,7 @@ enum { | |||
4367 | ALC882_FIXUP_PB_M5210, | 4367 | ALC882_FIXUP_PB_M5210, |
4368 | ALC882_FIXUP_ACER_ASPIRE_7736, | 4368 | ALC882_FIXUP_ACER_ASPIRE_7736, |
4369 | ALC882_FIXUP_ASUS_W90V, | 4369 | ALC882_FIXUP_ASUS_W90V, |
4370 | ALC889_FIXUP_CD, | ||
4370 | ALC889_FIXUP_VAIO_TT, | 4371 | ALC889_FIXUP_VAIO_TT, |
4371 | ALC888_FIXUP_EEE1601, | 4372 | ALC888_FIXUP_EEE1601, |
4372 | ALC882_FIXUP_EAPD, | 4373 | ALC882_FIXUP_EAPD, |
@@ -4494,6 +4495,13 @@ static const struct alc_fixup alc882_fixups[] = { | |||
4494 | { } | 4495 | { } |
4495 | } | 4496 | } |
4496 | }, | 4497 | }, |
4498 | [ALC889_FIXUP_CD] = { | ||
4499 | .type = ALC_FIXUP_PINS, | ||
4500 | .v.pins = (const struct alc_pincfg[]) { | ||
4501 | { 0x1c, 0x993301f0 }, /* CD */ | ||
4502 | { } | ||
4503 | } | ||
4504 | }, | ||
4497 | [ALC889_FIXUP_VAIO_TT] = { | 4505 | [ALC889_FIXUP_VAIO_TT] = { |
4498 | .type = ALC_FIXUP_PINS, | 4506 | .type = ALC_FIXUP_PINS, |
4499 | .v.pins = (const struct alc_pincfg[]) { | 4507 | .v.pins = (const struct alc_pincfg[]) { |
@@ -4650,6 +4658,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { | |||
4650 | 4658 | ||
4651 | SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), | 4659 | SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), |
4652 | SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), | 4660 | SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), |
4661 | SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3", ALC889_FIXUP_CD), | ||
4653 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), | 4662 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), |
4654 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), | 4663 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), |
4655 | SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), | 4664 | SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), |