summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <Richard.Zhu@freescale.com>2015-06-18 15:09:47 +0800
committerRichard Zhu <Richard.Zhu@freescale.com>2015-06-24 14:01:42 +0800
commitf0cf58cf4a45c4212b5648f2a814886b6cf6b0dd (patch)
tree0201fdef3691b30d5d1c9f2bd9df13c3470d4295
parent8cbe0defd38a7c2a79336b228322e1b8c1f437e6 (diff)
MLK-11160 pci: imx: enlarge the delay time after resume
some pcie pe devices maybe still failed resime back, after pcie rc is resumed, when the pcie ep devices have a heavy loading task. Enlarge the delay time after imx6qp pcie rc resume back. Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com> (cherry picked from commit e0f3836149889b1db7cce76218c76efbf0347e0e)
-rw-r--r--drivers/pci/host/pci-imx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 03e8aa3ea15b..b5933afe1ed2 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -1204,7 +1204,7 @@ static int pci_imx_resume_noirq(struct device *dev)
if (ret < 0)
pr_info("pcie link is down after resume back.\n");
/* Delay for a while, give ep some times to resume from D3 */
- udelay(200);
+ udelay(2000);
} else {
/*
* L2 can exit by 'reset' or Inband beacon (from remote EP)