From: Pavankumar Kondeti Date: Tue, 7 Dec 2010 12:24:05 +0000 (+0530) Subject: USB: gadget: Implement runtime PM for MSM bus glue driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2d0cdcc5a0e4e5e467fc4be4d00cc6c531c80b64;p=linux-beck.git USB: gadget: Implement runtime PM for MSM bus glue driver OTG driver takes care of putting hardware in low power mode. Hence not registered for any runtime PM callbacks. Signed-off-by: Pavankumar Kondeti Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/ci13xxx_msm.c b/drivers/usb/gadget/ci13xxx_msm.c index c497337bb72b..139ac9419597 100644 --- a/drivers/usb/gadget/ci13xxx_msm.c +++ b/drivers/usb/gadget/ci13xxx_msm.c @@ -18,6 +18,7 @@ #include #include +#include #include #include @@ -108,6 +109,9 @@ static int ci13xxx_msm_probe(struct platform_device *pdev) goto udc_remove; } + pm_runtime_no_callbacks(&pdev->dev); + pm_runtime_enable(&pdev->dev); + return 0; udc_remove: