aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 531364d35353..c742e101d91e 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -961,15 +961,6 @@ void snd_hda_codec_resume_amp(struct hda_codec *codec)
961} 961}
962#endif /* SND_HDA_NEEDS_RESUME */ 962#endif /* SND_HDA_NEEDS_RESUME */
963 963
964/*
965 * AMP control callbacks
966 */
967/* retrieve parameters from private_value */
968#define get_amp_nid(kc) ((kc)->private_value & 0xffff)
969#define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3)
970#define get_amp_direction(kc) (((kc)->private_value >> 18) & 0x1)
971#define get_amp_index(kc) (((kc)->private_value >> 19) & 0xf)
972
973/* volume */ 964/* volume */
974int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol, 965int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol,
975 struct snd_ctl_elem_info *uinfo) 966 struct snd_ctl_elem_info *uinfo)