summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-tegra.c
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2013-10-29 11:52:03 +0530
committerMitch Luban <mluban@nvidia.com>2013-10-30 02:38:43 -0700
commit4ba92e1818bd612e8fb796d46463817beeb47e4d (patch)
tree8b763aafca98d02953258397b549718d73b8d1c1 /drivers/usb/host/xhci-tegra.c
parent7122968c3381376127b3ad64aebcda420e7d2176 (diff)
xhci: tegra: enable runtime PM for xusb
Bug 1388533 Change-Id: Idddeab680f6f232dec897b8a6e26515c0d071d3c Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/304682 Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/usb/host/xhci-tegra.c')
-rw-r--r--drivers/usb/host/xhci-tegra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index 014f3c39a679..8e03d2b8e686 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -36,6 +36,7 @@
#include <linux/clk/tegra.h>
#include <linux/tegra-powergate.h>
#include <linux/firmware.h>
+#include <linux/pm_runtime.h>
#include <mach/tegra_usb_pad_ctrl.h>
#include <mach/tegra_usb_pmc.h>
#include <mach/pm_domains.h>
@@ -4385,6 +4386,7 @@ static int tegra_xhci_probe(struct platform_device *pdev)
utmi_phy_iddq_override(false);
tegra_pd_add_device(&pdev->dev);
+ pm_runtime_enable(&pdev->dev);
return 0;