diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-01-25 15:26:16 -0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-02-28 09:46:10 +0000 |
commit | 02b485e31d98265189b91f3e69c43df2ed50610c (patch) | |
tree | d6fea4f3bf478a724a28435ea14679e5d47e93e6 /drivers/pci/controller/dwc/pcie-armada8k.c | |
parent | 1df82ec4660099fdae42545051cbbeacb5666b50 (diff) | |
download | linux-02b485e31d98265189b91f3e69c43df2ed50610c.tar.bz2 |
PCI: qcom: Don't deassert reset GPIO during probe
Acquiring the reset GPIO low means that reset is being deasserted, this
is followed almost immediately with qcom_pcie_host_init() asserting it,
initializing it and then finally deasserting it again, for the link to
come up.
Some PCIe devices requires a minimum time between the initial deassert
and subsequent reset cycles. In a platform that boots with the reset
GPIO asserted this requirement is being violated by this deassert/assert
pulse.
Acquire the reset GPIO high to prevent this situation by matching the
state to the subsequent asserted state.
Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-armada8k.c')
0 files changed, 0 insertions, 0 deletions