aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/alc880_quirks.c14
-rw-r--r--sound/pci/hda/patch_realtek.c13
2 files changed, 13 insertions, 14 deletions
diff --git a/sound/pci/hda/alc880_quirks.c b/sound/pci/hda/alc880_quirks.c
index c40f2446fcc4..59899f8b056f 100644
--- a/sound/pci/hda/alc880_quirks.c
+++ b/sound/pci/hda/alc880_quirks.c
@@ -17,7 +17,6 @@ enum {
17 ALC880_ASUS_DIG, 17 ALC880_ASUS_DIG,
18 ALC880_ASUS_W1V, 18 ALC880_ASUS_W1V,
19 ALC880_ASUS_DIG2, 19 ALC880_ASUS_DIG2,
20 ALC880_UNIWILL_DIG,
21#ifdef CONFIG_SND_DEBUG 20#ifdef CONFIG_SND_DEBUG
22 ALC880_TEST, 21 ALC880_TEST,
23#endif 22#endif
@@ -852,7 +851,6 @@ static const struct snd_pci_quirk alc880_cfg_tbl[] = {
852 SND_PCI_QUIRK(0x1509, 0x925d, "FIC P4M", ALC880_6ST_DIG), 851 SND_PCI_QUIRK(0x1509, 0x925d, "FIC P4M", ALC880_6ST_DIG),
853 SND_PCI_QUIRK(0x1558, 0x5401, "ASUS", ALC880_ASUS_DIG2), 852 SND_PCI_QUIRK(0x1558, 0x5401, "ASUS", ALC880_ASUS_DIG2),
854 SND_PCI_QUIRK(0x1565, 0x8202, "Biostar", ALC880_5ST_DIG), 853 SND_PCI_QUIRK(0x1565, 0x8202, "Biostar", ALC880_5ST_DIG),
855 SND_PCI_QUIRK(0x1584, 0x9050, "Uniwill", ALC880_UNIWILL_DIG),
856 SND_PCI_QUIRK(0x1695, 0x400d, "EPoX", ALC880_5ST_DIG), 854 SND_PCI_QUIRK(0x1695, 0x400d, "EPoX", ALC880_5ST_DIG),
857 SND_PCI_QUIRK(0x1695, 0x4012, "EPox EP-5LDA", ALC880_5ST_DIG), 855 SND_PCI_QUIRK(0x1695, 0x4012, "EPox EP-5LDA", ALC880_5ST_DIG),
858 SND_PCI_QUIRK(0x2668, 0x8086, NULL, ALC880_6ST_DIG), /* broken BIOS */ 856 SND_PCI_QUIRK(0x2668, 0x8086, NULL, ALC880_6ST_DIG), /* broken BIOS */
@@ -1008,18 +1006,6 @@ static const struct alc_config_preset alc880_presets[] = {
1008 .need_dac_fix = 1, 1006 .need_dac_fix = 1,
1009 .input_mux = &alc880_capture_source, 1007 .input_mux = &alc880_capture_source,
1010 }, 1008 },
1011 [ALC880_UNIWILL_DIG] = {
1012 .mixers = { alc880_asus_mixer },
1013 .init_verbs = { alc880_volume_init_verbs,
1014 alc880_pin_asus_init_verbs },
1015 .num_dacs = ARRAY_SIZE(alc880_asus_dac_nids),
1016 .dac_nids = alc880_asus_dac_nids,
1017 .dig_out_nid = ALC880_DIGOUT_NID,
1018 .num_channel_mode = ARRAY_SIZE(alc880_asus_modes),
1019 .channel_mode = alc880_asus_modes,
1020 .need_dac_fix = 1,
1021 .input_mux = &alc880_capture_source,
1022 },
1023#ifdef CONFIG_SND_DEBUG 1009#ifdef CONFIG_SND_DEBUG
1024 [ALC880_TEST] = { 1010 [ALC880_TEST] = {
1025 .mixers = { alc880_test_mixer }, 1011 .mixers = { alc880_test_mixer },
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
4572static const struct snd_pci_quirk alc880_fixup_tbl[] = { 4584static 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),