On Wed, Feb 9, 2011 at 1:01 AM, Matthieu CASTET <matthieu.castet@xxxxxxxxxx> wrote: > Benoit Goby a écrit : >> +static int tegra_ehci_hub_control( >> + struct usb_hcd *hcd, >> + u16 typeReq, >> + u16 wValue, >> + u16 wIndex, >> + char *buf, >> + u16 wLength >> +) >> +{ >> + > > I don't know enough usb layer, but can't you done something similar than in > msm otg : let's the otg layer handle the power management ? > > http://www.spinics.net/lists/linux-usb/msg41247.html > This function overrides ehci_hub_control to fix tegra specific quirks when we suspend/resume the root hub. I don't see how this could be handled at the otg level. Benoit -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html