From 7de6ef11de5d07ee6195f0f5598f32efbcda9a31 Mon Sep 17 00:00:00 2001 From: yangkai Date: Fri, 17 Jun 2011 15:11:29 +0800 Subject: [PATCH] dwc otg root hub has no TT --- drivers/usb/core/hub.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 8ff77b613369..00d4085f1d25 100755 --- 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; } -- 2.34.1