diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-09-13 10:26:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 04:42:11 (GMT) |
commit | e5e558192f01857254938349f78cd492daee7d72 (patch) | |
tree | f4efed3d1e97d43c7bf3068d73141e0a24fb27ea /drivers/usb/storage | |
parent | f9dc024a2da1fe6b0ce180b89fac085e1255a932 (diff) | |
download | linux-e5e558192f01857254938349f78cd492daee7d72.tar.xz |
uas: Use streams on upcoming 10Gbps / 3.1 USB
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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/uas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 8d2e545..c69b9c5 100644 --- 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 { |