summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9g45_devices.c
diff options
context:
space:
mode:
authorDmitry Artamonow <mad_soft@inbox.ru>2012-03-13 09:46:27 +0400
committerOlof Johansson <olof@lixom.net>2012-03-18 21:26:48 +0400
commit2f926eecdfb6138fef91683667fc915af5071fff (patch)
tree198b1187e300c825319153dc288aa6eda538f822 /arch/arm/mach-at91/at91sam9g45_devices.c
parent795d5fd4b8b06944976c95e8592e17e2d415aa81 (diff)
downloadlinux-2f926eecdfb6138fef91683667fc915af5071fff.tar.xz
arm/tegra: pcie: fix return value of function
In previous patch (arm/tegra: add timeout to PCIe PLL lock detection loop) tegra_pcie_enable_controller() function type has been changed from void to int, but the last return statement wasn't converted, so function returns undefined value. Fix it. Also while at it, address couple of minor concerns raised by reviewers: use usleep_range for delay, and lower the value of timeout to 300ms to be consistent with Nvidia Vibrante kernel. Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45_devices.c')
0 files changed, 0 insertions, 0 deletions