ALSA: hda - simplify usage of HDA_SUBDEV_AMP_FLAG
authorJaroslav Kysela <perex@perex.cz>
Thu, 10 Dec 2009 12:57:01 +0000 (13:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Dec 2009 08:33:32 +0000 (09:33 +0100)
commit5e26dfd0615868872cb44842f1e1428c7b414ab0
tree75472db826d948edde152969045a819653ac54b3
parent9e3fd8719f624a43575b56a4777b1552399a8be8
ALSA: hda - simplify usage of HDA_SUBDEV_AMP_FLAG

The HDA_SUBDEV_NID_FLAG is duplicate for amplifier control elements. Move
get_amp_nid_() call to the snd_hda_ctl_add() function.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_via.c