diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2015-12-10 09:59:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-24 20:16:52 -0800 |
commit | 8a1b2725a60d3267135c15e80984b4406054f650 (patch) | |
tree | cd8d8bfd21d736013c7ebbb3344dded1a32e9c52 /drivers/usb/common | |
parent | 73a02d32458ecff5b6241e7e7bd6445f70400bad (diff) | |
download | op-kernel-dev-8a1b2725a60d3267135c15e80984b4406054f650.zip op-kernel-dev-8a1b2725a60d3267135c15e80984b4406054f650.tar.gz |
usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices
Add a new USB_SPEED_SUPER_PLUS device speed, and make sure usb core can
handle the new speed.
In most cases the behaviour is the same as with USB_SPEED_SUPER SuperSpeed
devices. In a few places we add a "Plus" string to inform the user of the
new speed.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common')
-rw-r--r-- | drivers/usb/common/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c index e6ec125..49fbfe8 100644 --- a/drivers/usb/common/common.c +++ b/drivers/usb/common/common.c @@ -51,6 +51,7 @@ static const char *const speed_names[] = { [USB_SPEED_HIGH] = "high-speed", [USB_SPEED_WIRELESS] = "wireless", [USB_SPEED_SUPER] = "super-speed", + [USB_SPEED_SUPER_PLUS] = "super-speed-plus", }; const char *usb_speed_string(enum usb_device_speed speed) |