projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OMAP3: CPUidle: Fixed timer resolution
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
arm
/
mach-omap2
/
cpuidle34xx.c
diff --git
a/arch/arm/mach-omap2/cpuidle34xx.c
b/arch/arm/mach-omap2/cpuidle34xx.c
index a26d6a08ae3f86dd49f3098772c36d481a570c34..12f0cbfc2894483ae10160efbad4d86406fb1e34 100644
(file)
--- a/
arch/arm/mach-omap2/cpuidle34xx.c
+++ b/
arch/arm/mach-omap2/cpuidle34xx.c
@@
-137,7
+137,7
@@
return_sleep_time:
local_irq_enable();
local_fiq_enable();
- return
(u32)timespec_to_ns(&ts_idle)/1000
;
+ return
ts_idle.tv_nsec / NSEC_PER_USEC + ts_idle.tv_sec * USEC_PER_SEC
;
}
/**