git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9dc024
)
uas: Use streams on upcoming 10Gbps / 3.1 USB
author
Hans de Goede
<hdegoede@redhat.com>
Sat, 13 Sep 2014 10:26:43 +0000
(12:26 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:42:11 +0000
(21:42 -0700)
Limit the no-streams case to speeds less then USB_SPEED_SUPER.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/uas.c
b/drivers/usb/storage/uas.c
index
8d2e545
..
c69b9c5
100644
(file)
--- a/
drivers/usb/storage/uas.c
+++ b/
drivers/usb/storage/uas.c
@@
-925,7
+925,7
@@
static int uas_configure_endpoints(struct uas_dev_info *devinfo)
devinfo->data_out_pipe = usb_sndbulkpipe(udev,
usb_endpoint_num(&eps[3]->desc));
- if (udev->speed
!=
USB_SPEED_SUPER) {
+ if (udev->speed
<
USB_SPEED_SUPER) {
devinfo->qdepth = 32;
devinfo->use_streams = 0;
} else {