Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303989
b: refs/heads/master
c: 448b6eb
h: refs/heads/master
i:
  303987: c93a188
v: v3
  • Loading branch information
Sarah Sharp committed May 18, 2012
1 parent 2d56c8a commit 6497b44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 797b0ca5e6283b4cc0bdeeb0e5915f21522ba85f
refs/heads/master: 448b6eb1e04cddc418d4b780ae19ca8cdb42d110
9 changes: 9 additions & 0 deletions trunk/drivers/usb/core/hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,15 @@ static int register_root_hub(struct usb_hcd *hcd)
dev_name(&usb_dev->dev), retval);
return (retval < 0) ? retval : -EMSGSIZE;
}
if (usb_dev->speed == USB_SPEED_SUPER) {
retval = usb_get_bos_descriptor(usb_dev);
if (retval < 0) {
mutex_unlock(&usb_bus_list_lock);
dev_dbg(parent_dev, "can't read %s bos descriptor %d\n",
dev_name(&usb_dev->dev), retval);
return retval;
}
}

retval = usb_new_device (usb_dev);
if (retval) {
Expand Down

0 comments on commit 6497b44

Please sign in to comment.