ALSA: usbaudio: parse USB descriptors with structs
authorDaniel Mack <daniel@caiaq.de>
Mon, 22 Feb 2010 22:49:09 +0000 (23:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Feb 2010 07:40:12 +0000 (08:40 +0100)
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 <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found