diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6ada0e3436a0..c2ff85dad500 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -15973,15 +15973,15 @@ static int alc662_auto_create_multi_out_ctls(struct alc_spec *spec, | |||
15973 | HDA_OUTPUT)); | 15973 | HDA_OUTPUT)); |
15974 | if (err < 0) | 15974 | if (err < 0) |
15975 | return err; | 15975 | return err; |
15976 | err = add_control(spec, ALC_CTL_BIND_MUTE, | 15976 | err = add_control(spec, ALC_CTL_WIDGET_MUTE, |
15977 | "Center Playback Switch", | 15977 | "Center Playback Switch", |
15978 | HDA_COMPOSE_AMP_VAL(nid, 1, 2, | 15978 | HDA_COMPOSE_AMP_VAL(0x0e, 1, 0, |
15979 | HDA_INPUT)); | 15979 | HDA_INPUT)); |
15980 | if (err < 0) | 15980 | if (err < 0) |
15981 | return err; | 15981 | return err; |
15982 | err = add_control(spec, ALC_CTL_BIND_MUTE, | 15982 | err = add_control(spec, ALC_CTL_WIDGET_MUTE, |
15983 | "LFE Playback Switch", | 15983 | "LFE Playback Switch", |
15984 | HDA_COMPOSE_AMP_VAL(nid, 2, 2, | 15984 | HDA_COMPOSE_AMP_VAL(0x0e, 2, 0, |
15985 | HDA_INPUT)); | 15985 | HDA_INPUT)); |
15986 | if (err < 0) | 15986 | if (err < 0) |
15987 | return err; | 15987 | return err; |
@@ -15993,9 +15993,9 @@ static int alc662_auto_create_multi_out_ctls(struct alc_spec *spec, | |||
15993 | if (err < 0) | 15993 | if (err < 0) |
15994 | return err; | 15994 | return err; |
15995 | sprintf(name, "%s Playback Switch", chname[i]); | 15995 | sprintf(name, "%s Playback Switch", chname[i]); |
15996 | err = add_control(spec, ALC_CTL_BIND_MUTE, name, | 15996 | err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, |
15997 | HDA_COMPOSE_AMP_VAL(nid, 3, 2, | 15997 | HDA_COMPOSE_AMP_VAL(alc880_idx_to_mixer(i), |
15998 | HDA_INPUT)); | 15998 | 3, 0, HDA_INPUT)); |
15999 | if (err < 0) | 15999 | if (err < 0) |
16000 | return err; | 16000 | return err; |
16001 | } | 16001 | } |