PCI: pciehp: wait 1000 ms before Link Training check
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 10 Nov 2011 07:40:37 +0000 (16:40 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 11 Nov 2011 17:31:34 +0000 (09:31 -0800)
We need to wait for 1000 ms after Data Link Layer Link Active (DLLLA)
bit reads 1b before sending configuration request. Currently pciehp
does this wait after checking Link Training (LT) bit. But we need it
before checking LT bit because LT is still set even after DLLLA bit is
set on some platforms.

Acked-by: Yinghai Lu <yinghai@kernel.org>
Tested-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found