diff options
| author | Nicolas Boichat <[email protected]> | 2017-08-22 01:10:11 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-10-05 09:18:18 +0000 |
| commit | 29cc309d8bf19a36c5196bf626662319af6e3c0b (patch) | |
| tree | 7cda1e048d81ab5cb01ce761d7fec4f6a7020ec9 /net/unix/af_unix.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
| download | kernel-29cc309d8bf19a36c5196bf626662319af6e3c0b.tar.gz kernel-29cc309d8bf19a36c5196bf626662319af6e3c0b.zip | |
HID: hid-multitouch: forward MSC_TIMESTAMP
Computes and forwards the device timestamp according to the specification.
Many devices use a 16-bit timestamp field, with a resolution of 100us,
therefore rolling around very frequently (every 6.5 seconds). To make sure
there is no ambiguity, the timestamp reported to the input stack reset to
0 whenever the time between 2 received events is greater than
MAX_TIMESTAMP_INTERVAL (1 second).
Signed-off-by: Nicolas Boichat <[email protected]>
Acked-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
