2013-09-20 01:59:32 +00:00
|
|
|
--- a/drivers/pci/host/pci-imx6.c
|
|
|
|
+++ b/drivers/pci/host/pci-imx6.c
|
2013-09-25 17:13:24 +00:00
|
|
|
@@ -200,12 +200,6 @@ static int pcie_phy_write(void __iomem *
|
2013-09-20 01:59:32 +00:00
|
|
|
static int imx6q_pcie_abort_handler(unsigned long addr,
|
|
|
|
unsigned int fsr, struct pt_regs *regs)
|
|
|
|
{
|
|
|
|
- /*
|
|
|
|
- * If it was an imprecise abort, then we need to correct the
|
|
|
|
- * return address to be _after_ the instruction.
|
|
|
|
- */
|
|
|
|
- if (fsr & (1 << 10))
|
|
|
|
- regs->ARM_pc += 4;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-09-25 17:13:24 +00:00
|
|
|
@@ -322,7 +316,7 @@ static void imx6_pcie_host_init(struct p
|
2013-09-20 01:59:32 +00:00
|
|
|
IMX6Q_GPR12_PCIE_CTL_2, 1 << 10);
|
|
|
|
|
|
|
|
while (!dw_pcie_link_up(pp)) {
|
|
|
|
- usleep_range(100, 1000);
|
|
|
|
+ usleep_range(2000, 3000);
|
|
|
|
count++;
|
|
|
|
if (count >= 10) {
|
|
|
|
dev_err(pp->dev, "phy link never came up\n");
|