From: Marek Vasut Date: Thu, 12 Dec 2013 21:49:59 +0000 (+0100) Subject: PCI: imx6: Report "link up" only after link training completes X-Git-Tag: v3.14-rc1~132^2~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9f40c01cce0c0e0ced34af2a2fd8353cc606c3;p=pandora-kernel.git PCI: imx6: Report "link up" only after link training completes 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: Marek Vasut Signed-off-by: Bjorn Helgaas Acked-by: Shawn Guo Cc: Frank Li Cc: Harro Haan Cc: Jingoo Han Cc: Mohit KUMAR Cc: Pratyush Anand Cc: Richard Zhu Cc: Sascha Hauer Cc: Sean Cross Cc: Siva Reddy Kallam Cc: Srikanth T Shivanand Cc: Tim Harvey Cc: Troy Kisky Cc: Yinghai Lu --- Reading git-diff-tree failed