diff options
author | Atif Niyaz <atifniyaz@google.com> | 2019-07-24 22:26:31 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-07-25 11:12:20 +0300 |
commit | 3b51c44bd6936e86a7180abd9aebc4387a479253 (patch) | |
tree | 307baa973004837a30e57d0a3dccc54f89e06604 /drivers/input/touchscreen/stmpe-ts.c | |
parent | c2433827c1a149b72f1413f0151155f6fa4b3214 (diff) |
Input: allow drivers specify timestamp for input events
Currently, evdev stamps events with timestamps acquired in evdev_events()
However, this timestamping may not be accurate in terms of measuring
when the actual event happened.
Let's allow individual drivers specify timestamp in order to provide a more
accurate sense of time for the event. It is expected that drivers will set the
timestamp in their hard interrupt routine.
Signed-off-by: Atif Niyaz <atifniyaz@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/stmpe-ts.c')
0 files changed, 0 insertions, 0 deletions