Skip to content

Commit

Permalink
musb: omap2430: avoid pm_runtime_disable()
Browse files Browse the repository at this point in the history
These are handled by drivers core, and in a way that doesn't wake up the
devices.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Contreras authored and Felipe Balbi committed Dec 20, 2011
1 parent 08dec56 commit 702ac61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ static int omap2430_musb_init(struct musb *musb)
return 0;

err1:
pm_runtime_disable(dev);
return status;
}

Expand Down Expand Up @@ -479,7 +478,6 @@ static int __exit omap2430_remove(struct platform_device *pdev)
platform_device_del(glue->musb);
platform_device_put(glue->musb);
pm_runtime_put(&pdev->dev);
pm_runtime_disable(&pdev->dev);
kfree(glue);

return 0;
Expand Down

0 comments on commit 702ac61

Please sign in to comment.