summaryrefslogtreecommitdiffstats
path: root/target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-18 17:53:53 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-18 17:53:53 +0000
commit13e1228de3690c8c831b9cccbe5a34674e743362 (patch)
tree0c747bbe3b9ccb30a4e4c5e277825d9a8ba914e4 /target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch
parent8f54e709747e711460f8a49acdcf86841920db8b (diff)
goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch')
-rw-r--r--target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch b/target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch
deleted file mode 100644
index 6ca183ca7..000000000
--- a/target/linux/goldfish/patches-2.6.30/0088-Input-Use-monotonic-time-for-event-time-stamps.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 474db0e1425f8da03a7d49ebba1602efa503c73f Mon Sep 17 00:00:00 2001
-From: =?utf-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= <arve@android.com>
-Date: Fri, 17 Oct 2008 15:28:08 -0700
-Subject: [PATCH 088/134] Input: Use monotonic time for event time stamps.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf-8
-Content-Transfer-Encoding: 8bit
-
-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 | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
---- a/drivers/input/evdev.c
-+++ b/drivers/input/evdev.c
-@@ -74,8 +74,11 @@ static void evdev_event(struct input_han
- struct evdev *evdev = handle->private;
- struct evdev_client *client;
- struct input_event event;
-+ struct timespec ts;
-
-- do_gettimeofday(&event.time);
-+ ktime_get_ts(&ts);
-+ event.time.tv_sec = ts.tv_sec;
-+ event.time.tv_usec = ts.tv_nsec / NSEC_PER_USEC;
- event.type = type;
- event.code = code;
- event.value = value;