USB: Add support for SuperSpeed isoc endpoints
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Tue, 1 Mar 2011 02:11:27 +0000 (18:11 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:03:52 +0000 (13:03 -0700)
commiteefd60cea1fb86b8c46778e19753c924b60fadf7
tree11aa87c59a461ab77ddb696f5c21f62751f7561f
parent24dfb5f904c1478c1ce62f91d654ccc3bfd420dd
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