]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit894dcd78782842924527598b0b764c9b4e679e21
treef0522de45c1d10a2e3da460b2359b9ef198a061f
parent18e352e4a73465349711a9324767e1b2453383e2
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