static void ci13xxx_msm_shutdown(struct platform_device *pdev) { struct msm_otg *motg; struct ci13xxx *udc = _udc; if (!udc || !udc->transceiver) return; motg = container_of(udc->transceiver, struct msm_otg, phy); if (!atomic_read(&motg->in_lpm)) ci13xxx_pullup(&udc->gadget, 0); }
void ci13xxx_msm_shutdown(struct platform_device *pdev) { ci13xxx_pullup(&_udc->gadget, 0); }