Input: Use monotonic time for event time stamps.
authorArve Hjønnevåg <arve@android.com>
Fri, 17 Oct 2008 22:28:08 +0000 (15:28 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:45 +0000 (09:08 -0700)
commit5d61887ea1837592ecbe3f5af7b7e4a741b659c5
tree42e14234bce04b5377b7d72df2b58be6bcd2564a
parentca5d75f61af6c00e8bd9f4063c73a206d23df394
Input: Use monotonic time for event time stamps.

Since wall time can jump backwards, it cannot be used to determine if one
event occured before another or for how long a key was pressed.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/evdev.c