diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-02-20 11:31:02 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-02-20 11:31:02 -0500 |
commit | 967b88c47744f7ec424c71630c1f551d34e08eef (patch) | |
tree | 764108f9d480c631638bb54471e2f5c6bccbfcf1 /sound/pci/hda/patch_realtek.c | |
parent | 817de92f1b52358f28534bb0b0c373f75e4b4baa (diff) |
ALSA: hda/realtek - Rewrite ALC880 model=uniwill-dig with auto-parser
ALC880 model=uniwill-dig requires the fix-up of bogus BIOS pin default
configurations. Other than that, it's pretty normal.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ff4410cf75a6..e88c753743dc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4448,6 +4448,7 @@ enum { | |||
4448 | ALC880_FIXUP_FUJITSU, | 4448 | ALC880_FIXUP_FUJITSU, |
4449 | ALC880_FIXUP_F1734, | 4449 | ALC880_FIXUP_F1734, |
4450 | ALC880_FIXUP_UNIWILL, | 4450 | ALC880_FIXUP_UNIWILL, |
4451 | ALC880_FIXUP_UNIWILL_DIG, | ||
4451 | }; | 4452 | }; |
4452 | 4453 | ||
4453 | /* enable the volume-knob widget support on NID 0x21 */ | 4454 | /* enable the volume-knob widget support on NID 0x21 */ |
@@ -4567,11 +4568,23 @@ static const struct alc_fixup alc880_fixups[] = { | |||
4567 | { } | 4568 | { } |
4568 | }, | 4569 | }, |
4569 | }, | 4570 | }, |
4571 | [ALC880_FIXUP_UNIWILL_DIG] = { | ||
4572 | .type = ALC_FIXUP_PINS, | ||
4573 | .v.pins = (const struct alc_pincfg[]) { | ||
4574 | /* disable bogus unused pins */ | ||
4575 | { 0x17, 0x411111f0 }, | ||
4576 | { 0x19, 0x411111f0 }, | ||
4577 | { 0x1b, 0x411111f0 }, | ||
4578 | { 0x1f, 0x411111f0 }, | ||
4579 | { } | ||
4580 | } | ||
4581 | }, | ||
4570 | }; | 4582 | }; |
4571 | 4583 | ||
4572 | static const struct snd_pci_quirk alc880_fixup_tbl[] = { | 4584 | static const struct snd_pci_quirk alc880_fixup_tbl[] = { |
4573 | SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), | 4585 | SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), |
4574 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF), | 4586 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF), |
4587 | SND_PCI_QUIRK(0x1584, 0x9050, "Uniwill", ALC880_FIXUP_UNIWILL_DIG), | ||
4575 | SND_PCI_QUIRK(0x1584, 0x9054, "Uniwill", ALC880_FIXUP_F1734), | 4588 | SND_PCI_QUIRK(0x1584, 0x9054, "Uniwill", ALC880_FIXUP_F1734), |
4576 | SND_PCI_QUIRK(0x1584, 0x9070, "Uniwill", ALC880_FIXUP_UNIWILL), | 4589 | SND_PCI_QUIRK(0x1584, 0x9070, "Uniwill", ALC880_FIXUP_UNIWILL), |
4577 | SND_PCI_QUIRK(0x1584, 0x9077, "Uniwill P53", ALC880_FIXUP_VOL_KNOB), | 4590 | SND_PCI_QUIRK(0x1584, 0x9077, "Uniwill P53", ALC880_FIXUP_VOL_KNOB), |