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>
This commit is contained in:
parent
f9dc024a2d
commit
e5e558192f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue