diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-10-29 08:17:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-29 08:17:05 +0100 |
commit | 1b063c3d090c45298a37ebc879c71379cf845d9c (patch) | |
tree | 18abf3e6b306e7fa3db9b6a638ae511378d7e08b /sound/pci/hda/patch_sigmatel.c | |
parent | d301fc320f3e673a49200d9ce51036caa9abd768 (diff) | |
parent | c1e99bd9d6a0c82f4fa9078ed1f570e57b2f3944 (diff) |
Merge branch 'topic/fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index c2f900f3946..f8f85d6717a 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, nid = codec->slave_dig_outs[smux_idx - 1]; if (spec->cur_smux[smux_idx] == smux->num_items - 1) val = AMP_OUT_MUTE; - if (smux_idx == 0) - nid = spec->multiout.dig_out_nid; else - nid = codec->slave_dig_outs[smux_idx - 1]; + val = AMP_OUT_UNMUTE; /* un/mute SPDIF out */ snd_hda_codec_write_cache(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE, val); |