diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2014-10-24 07:15:40 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:38:54 (GMT) |
commit | db067a80d84801aa0d11fda598b929fa762456ff (patch) | |
tree | c2b40837ff8421c9034a53bb4744d49711f7846d | |
parent | cc329b2c5b61b3463d2670bb6c52ef82cb530c20 (diff) | |
download | linux-fsl-qoriq-db067a80d84801aa0d11fda598b929fa762456ff.tar.xz |
PCI: Layerscape: Fix PCIe link state
The SCFG has been set bit-reverse as default, so the value of
SCFG_PEXMSCPORTSR does not need do bitrev.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Change-Id: I6827bd2831176e3e0e968240f2d87f84a66e1225
Reviewed-on: http://git.am.freescale.net:8181/21970
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
-rw-r--r-- | drivers/pci/host/pci-layerscape.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c index 8f5e65e..c5d9ec3 100644 --- a/drivers/pci/host/pci-layerscape.c +++ b/drivers/pci/host/pci-layerscape.c @@ -62,7 +62,6 @@ static int ls_pcie_link_up(struct pcie_port *pp) struct ls_pcie *pcie = to_ls_pcie(pp); regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); - state = bitrev32(state); state = (state >> LTSSM_STATE_SHIFT) & LTSSM_STATE_MASK; if (state < LTSSM_PCIE_L0) |