USB: Add support for SuperSpeed isoc endpoints
commit076620dbeb0b3993144f4e73e16b966e7a26370f
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Tue, 1 Mar 2011 02:11:27 +0000 (28 18:11 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:21 +0000 (23 12:50 -0700)
tree82629c8352eb591a3826a047ca4a4613e5a0b103
parent729bc845266c888b2b9ad6ceaea28312ec0ad39e
USB: Add support for SuperSpeed isoc endpoints

commit 500132a0f26ad7d9916102193cbc6c1b1becb373 upstream.

Use the Mult and bMaxBurst values from the endpoint companion
descriptor to calculate the max length of an isoc transfer.

Add USB_SS_MULT macro to access Mult field of bmAttributes, at
Sarah's suggestion.

This patch should be queued for the 2.6.36 and 2.6.37 stable trees, since
those were the first kernels to have isochronous support for SuperSpeed
devices.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/urb.c
include/linux/usb/ch9.h