OpenCloudOS-Kernel/drivers/usb/core
Mathias Nyman ff30cbc8da usb: Use the USB_SS_MULT() macro to get the burst multiplier.
Bits 1:0 of the bmAttributes are used for the burst multiplier.
The rest of the bits used to be reserved (zero), but USB3.1 takes bit 7
into use.

Use the existing USB_SS_MULT() macro instead to make sure the mult value
and hence max packet calculations are correct for USB3.1 devices.

Note that burst multiplier in bmAttributes is zero based and that
the USB_SS_MULT() macro adds one.

Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-21 22:48:53 -07:00
..
Kconfig usb: add bus type for USB ULPI 2015-05-13 12:04:55 -05:00
Makefile USB: core: remove CONFIG_USB_DEBUG usage 2013-12-21 16:01:00 -08:00
buffer.c Usb: core: buffer: fixed the checkpatch warning 2015-05-10 15:44:10 +02:00
config.c usb: Use the USB_SS_MULT() macro to get the burst multiplier. 2015-09-21 22:48:53 -07:00
devices.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
devio.c usb: devio: fix spacing 2015-08-08 15:17:17 -07:00
driver.c Revert "usb: interface authorization: Control interface probing and claiming" 2015-08-18 09:58:26 -07:00
endpoint.c usb: endpoint: convert spaces to tabs 2015-08-14 16:50:36 -07:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-11-13 15:34:18 +09:00
generic.c staging: usbip: convert usbip-host driver to usb_device_driver 2014-02-07 10:54:30 -08:00
hcd-pci.c USB / PM: Drop CONFIG_PM_RUNTIME from the USB core 2014-12-04 00:51:54 +01:00
hcd.c Revert "usb: interface authorization: Introduces the default interface authorization" 2015-08-18 09:58:45 -07:00
hub.c usb: core: hub: Removed some warnings generated by checkpatch.pl 2015-08-14 16:57:43 -07:00
hub.h usb: hub: convert khubd into workqueue 2014-09-23 22:33:19 -07:00
message.c Revert "usb: interface authorization: Introduces the default interface authorization" 2015-08-18 09:58:45 -07:00
notify.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
otg_whitelist.h usb: otg_whitelist: remove whitespace 2015-08-14 16:50:36 -07:00
port.c USB / PM: Drop CONFIG_PM_RUNTIME from the USB core 2014-12-04 00:51:54 +01:00
quirks.c Added another USB product ID for ELAN touchscreen quirks. 2015-05-09 19:23:03 +02:00
sysfs.c Revert "usb: interface authorization: SysFS part of USB interface authorization" 2015-08-18 09:57:43 -07:00
urb.c usb: core: allow zero packet flag for interrupt urbs 2014-07-22 16:30:58 -07:00
usb-acpi.c usb: find internal hub tier mismatch via acpi 2014-05-27 16:38:52 -07:00
usb.c Revert "usb: interface authorization: Use a flag for the default device authorization" 2015-08-18 09:56:04 -07:00
usb.h Revert "usb: interface authorization: Introduces the USB interface authorization" 2015-08-18 09:58:04 -07:00