From: Dmitry Artamonow Date: Tue, 6 Mar 2012 08:45:43 +0000 (+0400) Subject: arm/tegra: add timeout to PCIe PLL lock detection loop X-Git-Tag: v3.4-rc1~34^2~3^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795d5fd4b8b06944976c95e8592e17e2d415aa81;p=pandora-kernel.git arm/tegra: add timeout to PCIe PLL lock detection loop Tegra PCIe driver waits for PLL to lock using busy loop. If PLL fails to lock for some reason, this leads to silent lockup while booting (as PCIe code is not modular). Fix by adding timeout, so if PLL doesn't lock in a couple of seconds, just PCIe driver fails and machine continues to boot. Signed-off-by: Dmitry Artamonow Acked-by: Stephen Warren Signed-off-by: Olof Johansson --- Reading git-diff-tree failed