]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
PCIE: tegra: run PCIE at GEN1 speed
authorBibek Basu <bbasu@nvidia.com>
Thu, 20 Mar 2014 10:55:26 +0000 (16:25 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 21 Mar 2014 17:55:28 +0000 (10:55 -0700)
To preserve power, run PCIE @ GEN1 speed.
This will introduce cap on pciex clock to 250Mhz

Bug 1483563

Change-Id: Iedc05870647368523070a8033e7cbba1e0bc2b43
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384368
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/pci/host/pci-tegra.c

index 1fa003854db0b52084da917ae21040914228797a..f4293d7c552ef15d1ca25b8d4d11da7f229ac1b0 100644 (file)
@@ -1766,7 +1766,7 @@ static void tegra_pcie_enable_features(void)
        PR_FUNC_LINE;
 
        /* configure all links to gen2 speed by default */
-       if (!tegra_pcie_link_speed(true))
+       if (!tegra_pcie_link_speed(false))
                pr_info("PCIE: No Link speed change happened\n");
 
        tegra_pcie_pll_pdn();