diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-11-29 10:13:51 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-20 10:56:13 +0000 |
commit | 60424642a3e3cb5f723e399916e10a99e4bfcc03 (patch) | |
tree | b4f6c9bb3da664cacc9d9845dc92206e6f27b545 | |
parent | ccf7919c8c59fb28079ded168c814212efc37015 (diff) |
PCI: mvebu: extend PCIe reset duration
Some PCIe cards (such as ASM1062 based SATA cards) appear to need a
slightly longer delay between reset being released and the first card
access. Increase the default delay from 20ms to 30ms.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | drivers/pci/host/pci-mvebu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index a539e8c85b47..72846041eb89 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1279,7 +1279,7 @@ static int mvebu_pcie_powerup(struct mvebu_pcie_port *port) return ret; if (port->reset_gpio) { - u32 reset_udelay = 20000; + u32 reset_udelay = 30000; of_property_read_u32(port->dn, "reset-delay-us", &reset_udelay); |