summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYuyang Du <yuyang.du@intel.com>2017-06-08 07:04:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-13 10:51:10 +0200
commitdf9032c13d3e065f606ed669a1afe88e8ca4f25a (patch)
tree2b6012cc387f220a1fd0c69dd92cfe05ddcf1e48 /drivers
parentusbip: vhci-hcd: Add USB3 SuperSpeed support (diff)
downloadlinux-df9032c13d3e065f606ed669a1afe88e8ca4f25a.tar.xz
linux-df9032c13d3e065f606ed669a1afe88e8ca4f25a.zip
usbip: Add USB_SPEED_SUPER as valid arg
With this patch, USB_SPEED_SUPER is a valid speed when attaching a USB3 SuperSpeed device. Signed-off-by: Yuyang Du <yuyang.du@intel.com> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/usbip/vhci_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/usbip/vhci_sysfs.c b/drivers/usb/usbip/vhci_sysfs.c
index cac2319df742..3ad68ff4da2d 100644
--- a/drivers/usb/usbip/vhci_sysfs.c
+++ b/drivers/usb/usbip/vhci_sysfs.c
@@ -277,6 +277,7 @@ static int valid_args(__u32 pdev_nr, __u32 rhport, enum usb_device_speed speed)
case USB_SPEED_FULL:
case USB_SPEED_HIGH:
case USB_SPEED_WIRELESS:
+ case USB_SPEED_SUPER:
break;
default:
pr_err("Failed attach request for unsupported USB speed: %s\n",