]> git.baikalelectronics.ru Git - kernel.git/commit
sound: usb-audio: handle wMaxPacketSize for FIXED_ENDPOINT devices
authorClemens Ladisch <clemens@ladisch.de>
Fri, 6 Feb 2009 07:13:07 +0000 (08:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Feb 2009 08:47:12 +0000 (09:47 +0100)
commit07743f6f06f3b1968a1e31620fa1f5c90121a358
treef0522de45c1d10a2e3da460b2359b9ef198a061f
parent1c3a07090fef1b9cbbcfb1631cd785b6c205ce3b
sound: usb-audio: handle wMaxPacketSize for FIXED_ENDPOINT devices

For audio devices that do not have proper audio descriptors (e.g.,
Edirol UA-20), we use hardcoded parameters from our quirks list.
However, we must still read the maximum packet size from the standard
endpoint descriptor; otherwise, we might use packets that are too big
and therefore rejected by the USB core.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c