aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2011-12-19 15:17:51 -0500
committerFelipe Balbi <balbi@ti.com>2011-12-20 06:55:21 -0500
commit702ac61c51873ac4b7a66c2518219508ae5fe695 (patch)
tree4cad0dbf8a8c19d541fe5f372a1cbd2ef343b307 /drivers/usb/musb
parent08dec56ee29f06b4fbdf5f5b1b3d2c2397aabe17 (diff)
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 4f31814eebf3..c27bbbf32b52 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)
336 return 0; 336 return 0;
337 337
338err1: 338err1:
339 pm_runtime_disable(dev);
340 return status; 339 return status;
341} 340}
342 341
@@ -479,7 +478,6 @@ static int __exit omap2430_remove(struct platform_device *pdev)
479 platform_device_del(glue->musb); 478 platform_device_del(glue->musb);
480 platform_device_put(glue->musb); 479 platform_device_put(glue->musb);
481 pm_runtime_put(&pdev->dev); 480 pm_runtime_put(&pdev->dev);
482 pm_runtime_disable(&pdev->dev);
483 kfree(glue); 481 kfree(glue);
484 482
485 return 0; 483 return 0;