diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 33170a242009..068a77ae459e 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -590,12 +590,12 @@ static int stac92xx_smux_enum_put(struct snd_kcontrol *kcontrol, | |||
590 | else | 590 | else |
591 | nid = codec->slave_dig_outs[smux_idx - 1]; | 591 | nid = codec->slave_dig_outs[smux_idx - 1]; |
592 | if (spec->cur_smux[smux_idx] == smux->num_items - 1) | 592 | if (spec->cur_smux[smux_idx] == smux->num_items - 1) |
593 | val = AMP_OUT_MUTE; | 593 | val = HDA_AMP_MUTE; |
594 | else | 594 | else |
595 | val = AMP_OUT_UNMUTE; | 595 | val = 0; |
596 | /* un/mute SPDIF out */ | 596 | /* un/mute SPDIF out */ |
597 | snd_hda_codec_write_cache(codec, nid, 0, | 597 | snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0, |
598 | AC_VERB_SET_AMP_GAIN_MUTE, val); | 598 | HDA_AMP_MUTE, val); |
599 | } | 599 | } |
600 | return 0; | 600 | return 0; |
601 | } | 601 | } |