From: Daniel Mack Date: Mon, 22 Feb 2010 22:49:09 +0000 (+0100) Subject: ALSA: usbaudio: parse USB descriptors with structs X-Git-Tag: v2.6.34-rc1~243^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e1b773083d349d5223f586a39fa30f5d0f1c36;p=pandora-kernel.git ALSA: usbaudio: parse USB descriptors with structs In preparation of support for v2.0 audio class, use the structs from linux/usb/audio.h and add some new ones to describe the fields that are actually parsed by the descriptor decoders. Also, factor out code from usb_create_streams(). This makes it easier to adopt the new iteration logic needed for v2.0. Signed-off-by: Daniel Mack Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed