]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
xhci-tegra: enable ELPG on T210 K44
authorBH Hsieh <bhsieh@nvidia.com>
Tue, 20 Sep 2016 05:06:44 +0000 (13:06 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 26 Sep 2016 22:38:59 +0000 (15:38 -0700)
Enable ELPG on T210 K44 since powergate
driver is working

bug 1807127

Change-Id: Ia7335a922375dc0ce9ee151c2807c480b1b8b996
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/1223565
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/usb/host/xhci-tegra.c

index 80beb4d2b9b81e65f5220f3774c71a83f6972688..dd8233ca0e278faf2e620e48ce56c70dd0f1192f 100644 (file)
@@ -1602,12 +1602,7 @@ static void tegra_xhci_probe_finish(const struct firmware *fw, void *context)
        pm_runtime_use_autosuspend(dev);
        pm_runtime_set_autosuspend_delay(dev, 2000);
        pm_runtime_set_active(dev);
-/* T210 K44 WAR: disable suspend/resume
- * due to powergate driver not ready yet
- */
-#ifndef CONFIG_ARCH_TEGRA_21x_SOC
        pm_runtime_enable(dev);
-#endif
 
        /* Enable EU3S bit of USBCMD */
        val = readl(&xhci->op_regs->command);