msm: timer: use less strict time jump workaround
The current workaround for the time jumping bug uses three timer reads,
and fails unless t3-t2 equals t2-t1. It turns out that this is too
strict, and even given three consecutive ldr instructions, we cannot
read the timer at a consistent rate. So, be less strict, and only
guarantee that the times read are ordered.
This means that we read three times, see that t1 <= t2 <= t3, and return
t2 if that is true.
Change-Id: I9c4c15682e34f717abbc71850516d8f4a2f37ccb
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
1 file changed