projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'usb-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
[deliverable/linux.git]
/
drivers
/
usb
/
core
/
hcd.c
diff --git
a/drivers/usb/core/hcd.c
b/drivers/usb/core/hcd.c
index 6a2a2fd990abe362d2cf809e39bd631f7c0a0c11..2f2118fa36a8d2bfa4704d22ff1b895ec080b258 100644
(file)
--- a/
drivers/usb/core/hcd.c
+++ b/
drivers/usb/core/hcd.c
@@
-2060,6
+2060,8
@@
int usb_alloc_streams(struct usb_interface *interface,
return -EINVAL;
if (dev->speed != USB_SPEED_SUPER)
return -EINVAL;
+ if (dev->state < USB_STATE_CONFIGURED)
+ return -ENODEV;
for (i = 0; i < num_eps; i++) {
/* Streams only apply to bulk endpoints. */
This page took
0.024979 seconds
and
5
git commands to generate.