With runtime_pm in place there is no longer need to turn the phy
on/off in OTG layer on cable connect/disconnect, OMAP glue does
this through otg.set_suspend() callback already. This will save power
when cable is connected but no gadget driver is loaded.
This will also have side effect of automatic USB charging no longer
working without twl4030_charger driver, so be sure to enable it if
charging is needed.
* USB_LINK_VBUS state. musb_hdrc won't care until it
* starts to handle softconnect right.
*/
- if (status == USB_EVENT_NONE)
- twl4030_phy_suspend(twl, 0);
- else
- twl4030_phy_resume(twl);
-
if (status != status_old)
atomic_notifier_call_chain(&twl->otg.notifier, status,
twl->otg.gadget);