summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-09-21 16:46:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-22 07:48:53 +0200
commitff30cbc8da425754e8ab96904db1d295bd034f27 (patch)
tree3eaf64c74028ea78a1e3fcc47f609cbf7ff94fc1 /drivers/usb/host/xhci-ring.c
parentMerge tag 'fixes-for-v4.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-ff30cbc8da425754e8ab96904db1d295bd034f27.tar.xz
linux-ff30cbc8da425754e8ab96904db1d295bd034f27.zip
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>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions