ALSA: usb-audio: parse UAC2 endpoint descriptors correctly
authorDaniel Mack <daniel@caiaq.de>
Wed, 26 May 2010 16:11:38 +0000 (18:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 May 2010 07:49:22 +0000 (09:49 +0200)
commit43b8e3bc4af0b435fddaa59e827ca1010b024492
treef5d6a8e46a9ae219b7c3fb9297ad08c6c901359a
parent8d0912427113723c3f3a4dca631638844c4ab649
ALSA: usb-audio: parse UAC2 endpoint descriptors correctly

UAC2 devices have their information about pitch control stored in a
different field. Parse it, and emulate the bits for a v1 device.

A new struct uac2_iso_endpoint_descriptor is added.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/usb/audio-v2.h
sound/usb/endpoint.c