} 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
+ * parent hub has no TT would be error in rk29
+ * only need to be commented in rk29
*/
- #if 0
+ #if 1
if (!hub->tt.hub) {
dev_err(&udev->dev, "parent hub has no TT\n");
retval = -EINVAL;
goto error1;
}
hcd->regs = otg_dev->base;
- hcd->self.otg_port = 1;
+ hcd->self.otg_port = 1;
+ hcd->has_tt = 1;
/* Initialize the DWC OTG HCD. */
dwc_otg_hcd = hcd_to_dwc_otg_hcd(hcd);
goto error1;
}
hcd->regs = otg_dev->base;
- hcd->self.otg_port = 1;
+ hcd->self.otg_port = 1;
+ hcd->has_tt = 1;
/* Initialize the DWC OTG HCD. */
dwc_otg_hcd = hcd_to_dwc_otg_hcd(hcd);