ALSA: hda - Create "Capture Source" control dynamically in patch_conexant.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2009 13:41:05 +0000 (14:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2009 14:13:23 +0000 (15:13 +0100)
commitb880c74adf7e79b97de710a152ea82f292f9abc7
tree0793f8387973592fcd0e0e69bbb45f8dd64cdf5f
parentdd5746a85cb21ea5b3afca0b569586a05aa56846
ALSA: hda - Create "Capture Source" control dynamically in patch_conexant.c

Create "Capture Source" control dynamically for Conexant codecs.
If only one capture item is available, don't create such a control
since it's just useless.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c