diff options
| author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-03-11 13:44:50 +0530 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:02:21 -0700 |
| commit | b2cafadf073f40d71bca93727556877898ed2596 (patch) | |
| tree | a2e0b039003ccf02e576217e3ea4cabc210f91ae /drivers/usb | |
| parent | 6d40fdeb09745e28eb3a4dd110cd9a7673c553cb (diff) | |
usb: host: tegra: enable runtime PM
Runtime PM for usb host is implemented in usb core and device
is suspended through bus_suspend but the runtime status of
usb platform device is not updated properly since RPM is not
enabled for this device. This change enabled RPM for it.
Bug 1010971
Change-Id: Id811ed666efb2e8f893735232df7bbff5cd69727
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/207996
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Diffstat (limited to 'drivers/usb')
| -rw-r--r-- | drivers/usb/host/ehci-tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 6f1fe9b2862e..52c978f5b528 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -24,6 +24,7 @@ #include <linux/gpio.h> #include <linux/of.h> #include <linux/of_gpio.h> +#include <linux/pm_runtime.h> #include <linux/usb/tegra_usb_phy.h> @@ -572,6 +573,7 @@ static int tegra_ehci_probe(struct platform_device *pdev) } tegra_pd_add_device(&tegra_mc_chain_b, &pdev->dev); + pm_runtime_enable(&pdev->dev); return err; |
