ALSA: usb-audio: clean up find_audio_control_unit()
authorDaniel Mack <daniel@caiaq.de>
Mon, 31 May 2010 11:35:43 +0000 (13:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 May 2010 16:17:49 +0000 (18:17 +0200)
Use a struct to parse the audio units, and return usable descriptors
for all types. There's no need to limit the result set, except for some
kind of sanity check.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c

Simple merge