Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233117
b: refs/heads/master
c: d199c96
h: refs/heads/master
i:
  233115: 9d4aa97
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent 6ed0494 commit ae3717c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 6d86d52a33cfe6338efd007cfcca895b18c1d84b
refs/heads/master: d199c96d41d80a567493e12b8e96ea056a1350c1
5 changes: 5 additions & 0 deletions trunk/drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2753,6 +2753,11 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1,
udev->ttport = hdev->ttport;
} else if (udev->speed != USB_SPEED_HIGH
&& hdev->speed == USB_SPEED_HIGH) {
if (!hub->tt.hub) {
dev_err(&udev->dev, "parent hub has no TT\n");
retval = -EINVAL;
goto fail;
}
udev->tt = &hub->tt;
udev->ttport = port1;
}
Expand Down

0 comments on commit ae3717c

Please sign in to comment.