projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032ca71
)
dwc otg root hub has no TT
author
yangkai
<yangkai@ubuntu-fs>
Fri, 17 Jun 2011 07:11:29 +0000
(15:11 +0800)
committer
yangkai
<yangkai@ubuntu-fs>
Fri, 17 Jun 2011 07:11:29 +0000
(15:11 +0800)
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 8ff77b613369a86c4e6fac256c47fad28e9fa19a..00d4085f1d255327b96ba20680e5fea9dbbbfb1a 100755
(executable)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-2715,11
+2715,17
@@
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) {
+
+ /* yk@rk 20110617
+ * parent hub has no TT would not be error in rk29
+ */
+ #if 0
if (!hub->tt.hub) {
dev_err(&udev->dev, "parent hub has no TT\n");
retval = -EINVAL;
goto fail;
}
+ #endif
udev->tt = &hub->tt;
udev->ttport = port1;
}