ALSA: hda - Create "Input Source" control dynamically for STAC/IDT
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2009 10:57:22 +0000 (11:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2009 10:57:22 +0000 (11:57 +0100)
Instead of fixed kcontrol_new element, build "Input Source" controls
dynamically.  If the number of input-source items is 0 or 1, we don't
need to create such a control.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found