diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2015-09-21 14:46:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-22 05:48:53 (GMT) |
commit | ff30cbc8da425754e8ab96904db1d295bd034f27 (patch) | |
tree | 3eaf64c74028ea78a1e3fcc47f609cbf7ff94fc1 /kernel/softirq.c | |
parent | 01f4fd2a4f741057aaa5ba5ac3b09a42c9ada028 (diff) | |
download | linux-ff30cbc8da425754e8ab96904db1d295bd034f27.tar.xz |
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 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions