On Thu, 30 Sep 2010, Chen Peter-B29397 wrote: > Hi list, > > I would like to suspend/resume host with real-time (no any delay) for > otg status switch. > The usb_suspend/usb_resume can get my requirement, but they are not > exported, > so I can't use them if I build my ehci host driver as a module. > > usb_enable_autosuspend/usb_disable_autosuspend are exported, but they > are delayed event. > > Are there any methods can get the same results with calling > usb_suspend/usb_resume for module? This has already been discussed on the mailing list. See this thread: http://marc.info/?t=128377584700007&r=1&w=2 Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html