projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca504f
)
hub: admit devices are SS+
author
Oliver Neukum
<oneukum@suse.com>
Wed, 20 Apr 2016 14:28:09 +0000
(16:28 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 22:04:38 +0000
(15:04 -0700)
If a port can do 10 Gb/s the kernel should say so.
The corresponding check needs to be added.
Signed-off.by: Oliver Neukum <ONeukum@suse.com>>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 38cc4bae0a82648d92196a3c759a73ac8d9317d1..c2270d8fac127d4fa7a8f962291164931256a7f2 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-104,6
+104,8
@@
static int usb_reset_and_verify_device(struct usb_device *udev);
static inline char *portspeed(struct usb_hub *hub, int portstatus)
{
+ if (hub_is_superspeedplus(hub->hdev))
+ return "10.0 Gb/s";
if (hub_is_superspeed(hub->hdev))
return "5.0 Gb/s";
if (portstatus & USB_PORT_STAT_HIGH_SPEED)