Manually merged drivers/usb/gadget/omap_udc.c
* make host resumes and VBUS detection trigger OMAP wakeup events; that
* may involve talking to an external transceiver (e.g. isp1301).
*/
-
static int omap_udc_suspend(struct device *dev, pm_message_t message, u32 level)
{
u32 devstat;
return 0;
DBG("resume + wakeup/SRP\n");
+ udc->gadget.dev.parent->power.power_state = PMSG_ON;
+ udc->gadget.dev.power.power_state = PMSG_ON;
omap_pullup(&udc->gadget, 1);
/* maybe the host would enumerate us if we nudged it */