• Marek Vasut's avatar
    PCI: imx6: Factor out link up wait loop · 66a60f93
    Marek Vasut authored
    Split the function that waits for the PCIe link to come up from the rest if
    the host init function.  We will find this change useful in the subsequent
    patch, since this will be called twice then.
    
    No functional change.
    
    [bhelgaas: remove useless "return;"]
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Acked-by: default avatarShawn 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>
    66a60f93
pci-imx6.c 13.9 KB