diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-07-10 17:48:01 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-26 23:00:58 +0400 |
commit | c30c791c946a14a03e87819eced562ed28711961 (patch) | |
tree | 522ff719de8a8858e4bc87c3b987d8e43a601089 /lib/prio_heap.c | |
parent | 20a12f007feee1cfa761b431047271d1141d8031 (diff) | |
download | linux-c30c791c946a14a03e87819eced562ed28711961.tar.xz |
USB: xhci: Set Mult field in endpoint context correctly.
The bmAttributes field of the SuperSpeed Endpoint Companion Descriptor has
different meanings, depending on the endpoint type. If the endpoint is
isochronous, the bmAttributes field is the maximum number of packets
within a service interval that this endpoint supports. If the endpoint is
bulk, it's the number of stream IDs this endpoint supports.
Only set the Mult field of the xHCI endpoint context using the
bmAttributes field if the endpoint is isochronous, and the device is a
SuperSpeed device.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions