diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2015-12-10 02:59:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-24 23:16:52 -0500 |
commit | 8a1b2725a60d3267135c15e80984b4406054f650 (patch) | |
tree | cd8d8bfd21d736013c7ebbb3344dded1a32e9c52 /drivers/usb/common/common.c | |
parent | 73a02d32458ecff5b6241e7e7bd6445f70400bad (diff) |
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/common.c')
-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 e6ec125e4485..49fbfe8b0f24 100644 --- a/drivers/usb/common/common.c +++ b/drivers/usb/common/common.c | |||
@@ -51,6 +51,7 @@ static const char *const speed_names[] = { | |||
51 | [USB_SPEED_HIGH] = "high-speed", | 51 | [USB_SPEED_HIGH] = "high-speed", |
52 | [USB_SPEED_WIRELESS] = "wireless", | 52 | [USB_SPEED_WIRELESS] = "wireless", |
53 | [USB_SPEED_SUPER] = "super-speed", | 53 | [USB_SPEED_SUPER] = "super-speed", |
54 | [USB_SPEED_SUPER_PLUS] = "super-speed-plus", | ||
54 | }; | 55 | }; |
55 | 56 | ||
56 | const char *usb_speed_string(enum usb_device_speed speed) | 57 | const char *usb_speed_string(enum usb_device_speed speed) |