aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-10-29 03:17:05 -0400
committerTakashi Iwai <tiwai@suse.de>2008-10-29 03:17:05 -0400
commit1b063c3d090c45298a37ebc879c71379cf845d9c (patch)
tree18abf3e6b306e7fa3db9b6a638ae511378d7e08b
parentd301fc320f3e673a49200d9ce51036caa9abd768 (diff)
parentc1e99bd9d6a0c82f4fa9078ed1f570e57b2f3944 (diff)
Merge branch 'topic/fix/hda' into topic/hda
-rw-r--r--sound/pci/hda/hda_codec.c1
-rw-r--r--sound/pci/hda/patch_analog.c1
-rw-r--r--sound/pci/hda/patch_sigmatel.c4
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index eaa8b5676eae..8991db78fb67 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -64,6 +64,7 @@ static struct hda_vendor_id hda_vendor_ids[] = {
64 { 0x14f1, "Conexant" }, 64 { 0x14f1, "Conexant" },
65 { 0x17e8, "Chrontel" }, 65 { 0x17e8, "Chrontel" },
66 { 0x1854, "LG" }, 66 { 0x1854, "LG" },
67 { 0x1aec, "Wolfson Microelectronics" },
67 { 0x434d, "C-Media" }, 68 { 0x434d, "C-Media" },
68 { 0x8384, "SigmaTel" }, 69 { 0x8384, "SigmaTel" },
69 {} /* terminator */ 70 {} /* terminator */
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 02643bce5634..d0d66f341cda 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -3858,6 +3858,7 @@ static const char *ad1884a_models[AD1884A_MODELS] = {
3858 3858
3859static struct snd_pci_quirk ad1884a_cfg_tbl[] = { 3859static struct snd_pci_quirk ad1884a_cfg_tbl[] = {
3860 SND_PCI_QUIRK(0x103c, 0x3030, "HP", AD1884A_MOBILE), 3860 SND_PCI_QUIRK(0x103c, 0x3030, "HP", AD1884A_MOBILE),
3861 SND_PCI_QUIRK(0x103c, 0x3056, "HP", AD1884A_MOBILE),
3861 SND_PCI_QUIRK(0x17aa, 0x20ac, "Thinkpad X300", AD1884A_THINKPAD), 3862 SND_PCI_QUIRK(0x17aa, 0x20ac, "Thinkpad X300", AD1884A_THINKPAD),
3862 {} 3863 {}
3863}; 3864};
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index c2f900f39466..f8f85d6717a9 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -583,10 +583,8 @@ static int stac92xx_smux_enum_put(struct snd_kcontrol *kcontrol,
583 nid = codec->slave_dig_outs[smux_idx - 1]; 583 nid = codec->slave_dig_outs[smux_idx - 1];
584 if (spec->cur_smux[smux_idx] == smux->num_items - 1) 584 if (spec->cur_smux[smux_idx] == smux->num_items - 1)
585 val = AMP_OUT_MUTE; 585 val = AMP_OUT_MUTE;
586 if (smux_idx == 0)
587 nid = spec->multiout.dig_out_nid;
588 else 586 else
589 nid = codec->slave_dig_outs[smux_idx - 1]; 587 val = AMP_OUT_UNMUTE;
590 /* un/mute SPDIF out */ 588 /* un/mute SPDIF out */
591 snd_hda_codec_write_cache(codec, nid, 0, 589 snd_hda_codec_write_cache(codec, nid, 0,
592 AC_VERB_SET_AMP_GAIN_MUTE, val); 590 AC_VERB_SET_AMP_GAIN_MUTE, val);