commit | 28e1b773083d349d5223f586a39fa30f5d0f1c36 | [log] [tgz] |
---|---|---|
author | Daniel Mack <daniel@caiaq.de> | Mon Feb 22 23:49:09 2010 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Feb 23 08:40:12 2010 +0100 |
tree | 4793eb1d87a094cf3642600ac3b201f81bab7e54 | |
parent | 40717382e0c1f572553e4fdefb489db4b95a5e7e [diff] |
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 <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>