From: Daniel Mack Date: Mon, 31 May 2010 11:35:43 +0000 (+0200) Subject: ALSA: usb-audio: clean up find_audio_control_unit() X-Git-Tag: v2.6.35-rc2~41^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e1daa0bb30eda6ec5add27c3abf4536030f5a6;p=pandora-kernel.git ALSA: usb-audio: clean up find_audio_control_unit() 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed