projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 3.12-rc3 into usb-next
[deliverable/linux.git]
/
drivers
/
usb
/
core
/
hub.c
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 6d97cf7be048a698b28b96191a4bf00dda3f6542..2159f820b159a3fdfcbcc745bf538098755e606f 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-3431,6
+3431,9
@@
static int usb_req_set_sel(struct usb_device *udev, enum usb3_link_state state)
unsigned long long u2_pel;
int ret;
+ if (udev->state != USB_STATE_CONFIGURED)
+ return 0;
+
/* Convert SEL and PEL stored in ns to us */
u1_sel = DIV_ROUND_UP(udev->u1_params.sel, 1000);
u1_pel = DIV_ROUND_UP(udev->u1_params.pel, 1000);
This page took
0.024774 seconds
and
5
git commands to generate.