|
@@ -2111,11 +2111,9 @@ static int __exit musb_remove(struct platform_device *pdev)
|
|
* - Peripheral mode: peripheral is deactivated (or never-activated)
|
|
* - Peripheral mode: peripheral is deactivated (or never-activated)
|
|
* - OTG mode: both roles are deactivated (or never-activated)
|
|
* - OTG mode: both roles are deactivated (or never-activated)
|
|
*/
|
|
*/
|
|
- pm_runtime_get_sync(musb->controller);
|
|
|
|
musb_exit_debugfs(musb);
|
|
musb_exit_debugfs(musb);
|
|
musb_shutdown(pdev);
|
|
musb_shutdown(pdev);
|
|
|
|
|
|
- pm_runtime_put(musb->controller);
|
|
|
|
musb_free(musb);
|
|
musb_free(musb);
|
|
iounmap(ctrl_base);
|
|
iounmap(ctrl_base);
|
|
device_init_wakeup(&pdev->dev, 0);
|
|
device_init_wakeup(&pdev->dev, 0);
|