diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2011-12-19 22:17:51 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-20 13:55:21 +0200 |
commit | 702ac61c51873ac4b7a66c2518219508ae5fe695 (patch) | |
tree | 4cad0dbf8a8c19d541fe5f372a1cbd2ef343b307 /drivers/usb/musb | |
parent | 08dec56ee29f06b4fbdf5f5b1b3d2c2397aabe17 (diff) | |
download | op-kernel-dev-702ac61c51873ac4b7a66c2518219508ae5fe695.zip op-kernel-dev-702ac61c51873ac4b7a66c2518219508ae5fe695.tar.gz |
musb: omap2430: avoid pm_runtime_disable()
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>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 4f31814..c27bbbf 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c @@ -336,7 +336,6 @@ static int omap2430_musb_init(struct musb *musb) return 0; err1: - pm_runtime_disable(dev); return status; } @@ -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; |