• M
    PCI: imx6: Report "link up" only after link training completes · 7f9f40c0
    Marek Vasut 提交于
    While waiting for the PHY to report the PCIe link is up, we might hit a
    situation where the link training is still in progress, while the PHY
    already reports the link is up.  Add additional check for this condition.
    Signed-off-by: NMarek Vasut <marex@denx.de>
    Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
    Acked-by: NShawn Guo <shawn.guo@linaro.org>
    Cc: Frank Li <lznuaa@gmail.com>
    Cc: Harro Haan <hrhaan@gmail.com>
    Cc: Jingoo Han <jg1.han@samsung.com>
    Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
    Cc: Pratyush Anand <pratyush.anand@st.com>
    Cc: Richard Zhu <r65037@freescale.com>
    Cc: Sascha Hauer <s.hauer@pengutronix.de>
    Cc: Sean Cross <xobs@kosagi.com>
    Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
    Cc: Srikanth T Shivanand <ts.srikanth@samsung.com>
    Cc: Tim Harvey <tharvey@gateworks.com>
    Cc: Troy Kisky <troy.kisky@boundarydevices.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    7f9f40c0
pci-imx6.c 13.7 KB