[ARM] msm: timer: Fix sleep duration from idle.
authorArve Hjønnevåg <arve@android.com>
Sat, 5 Dec 2009 06:53:27 +0000 (22:53 -0800)
committerArve Hjønnevåg <arve@android.com>
Sat, 12 Dec 2009 04:45:20 +0000 (20:45 -0800)
commite4654e298868a1be3a6f10bcf749c8655248d3dd
tree3ba1538309a1f8e31850ff7d2a52207635003d9a
parent8bf14ef1d2bb205e11e00e1aa05eb80aa43f9243
[ARM] msm: timer: Fix sleep duration from idle.

Don't read TIMER_MATCH_VAL. This register may return an old value which
would cause the calculated sleep duration to be wrong.

Change-Id: Iaf079b28b47a677d485135912aa8b66b183cacf4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/mach-msm/timer.c