summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJin Qian <jqian@nvidia.com>2011-05-03 19:27:05 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-05-05 00:18:26 -0700
commit38e4fed23fb8c11e011fc55bd91ea4c3d1791d73 (patch)
tree8ff0de149318e9e8307c8f1f9fd6d777ee53b296 /arch
parentfdb0df7966e8f25d4f2302025be723e2d7f4645b (diff)
ARM: tegra: make wait_util wait longer
Change-Id: If67effbaa82cf9724e1be3ce9389f19e5123cffa Reviewed-on: http://git-master/r/30296 Tested-by: Jin Qian <jqian@nvidia.com> Reviewed-by: Yun Long <ylong@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/power-macros.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/power-macros.S b/arch/arm/mach-tegra/power-macros.S
index 2d18d0213d08..35a8210628a4 100644
--- a/arch/arm/mach-tegra/power-macros.S
+++ b/arch/arm/mach-tegra/power-macros.S
@@ -41,9 +41,10 @@
mov \tmp, \rd
.endm
-/* waits until the microsecond counter (base) is >= rn */
+/* waits until the microsecond counter (base) is > rn */
.macro wait_until, rn, base, tmp
1002: ldr \tmp, [\base]
+ add \rn, \rn, #1
sub \tmp, \tmp, \rn
ands \tmp, \tmp, #0x80000000
dmb