Input: evdev - add CLOCK_BOOTTIME support
authorAniroop Mathur <aniroop.mathur@gmail.com>
Wed, 17 Dec 2014 23:33:06 +0000 (15:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Dec 2014 23:46:59 +0000 (15:46 -0800)
commitaac8bcf1ed3e2e97da0ec7e859d20fe3fa76bd97
treed9a9decdcaa1a008fdc4f75c20f3f1cb832e7854
parent2ba353204779c81d09bb03051d8a7a4b842f9ad3
Input: evdev - add CLOCK_BOOTTIME support

This patch adds support for CLOCK_BOOTTIME for input event timestamp.
CLOCK_BOOTTIME includes suspend time, so it would allow aplications
to get correct time difference between two events even when system
resumes from suspend state.

Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c