]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/commitdiff
musb: omap2430: avoid pm_runtime_disable()
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 19 Dec 2011 20:17:51 +0000 (22:17 +0200)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:01 +0000 (00:44 +0530)
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>
drivers/usb/musb/omap2430.c

index 4f31814eebf3e14e7b1e455afbb0944c3b3e823f..c27bbbf32b522376d51c5b089d96508680c0e2bf 100644 (file)
@@ -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;