PCIE: tegra: resume timing correction
Bibek Basu [Tue, 29 Apr 2014 09:11:31 +0000 (14:11 +0530)]
The time from +1.05V_RUN to PEX_L1_RST_L signal
(PEX_L1_RST_N on T124) should be 100ms minimum

Bug 1500840

Change-Id: I170ed3225f80b5ef0ccaf4b38565d3adf94a674a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/402841
(cherry picked from commit d380528e5e865437681c21befc40de430b39f9a9)
Reviewed-on: http://git-master/r/406394
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>

drivers/pci/host/pci-tegra.c

index 9e003f2..fe7329e 100644 (file)
@@ -1888,6 +1888,8 @@ static int tegra_pcie_resume_noirq(struct device *dev)
                        return ret;
                }
        }
+       /* give 100ms for 1.05v to come up */
+       msleep(100);
        ret = tegra_pcie_power_on();
        if (ret) {
                pr_err("PCIE: Failed to power on: %d\n", ret);