mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
Revert "Input: Use monotonic time for event time stamps."
This reverts commit 9abcb847ea.
This commit is contained in:
@@ -74,11 +74,8 @@ static void evdev_event(struct input_handle *handle,
|
||||
struct evdev *evdev = handle->private;
|
||||
struct evdev_client *client;
|
||||
struct input_event event;
|
||||
struct timespec ts;
|
||||
|
||||
ktime_get_ts(&ts);
|
||||
event.time.tv_sec = ts.tv_sec;
|
||||
event.time.tv_usec = ts.tv_nsec / NSEC_PER_USEC;
|
||||
do_gettimeofday(&event.time);
|
||||
event.type = type;
|
||||
event.code = code;
|
||||
event.value = value;
|
||||
|
||||
Reference in New Issue
Block a user