summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorAndrew Morton2007-07-10 06:43:06 +0200
committerDmitry Torokhov2007-07-10 06:43:06 +0200
commit65f88f89c94d877794a6006f210d75d2974a182e (patch)
tree68c20f68fe53777900d82e652321de4dba990d87 /drivers/input
parentInput: pxa27x_keyboard - fix compile error (diff)
downloadkernel-qcow2-linux-65f88f89c94d877794a6006f210d75d2974a182e.tar.gz
kernel-qcow2-linux-65f88f89c94d877794a6006f210d75d2974a182e.tar.xz
kernel-qcow2-linux-65f88f89c94d877794a6006f210d75d2974a182e.zip
Input: tsdev - fix broken usec-to-millisecs conversion
Noted by Fengwei Yin <yfw.kernel@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/tsdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c
index 4cd5bbc44cca..d2f882e98e5e 100644
--- a/drivers/input/tsdev.c
+++ b/drivers/input/tsdev.c
@@ -371,7 +371,7 @@ static void tsdev_event(struct input_handle *handle, unsigned int type,
int x, y, tmp;
do_gettimeofday(&time);
- client->event[client->head].millisecs = time.tv_usec / 100;
+ client->event[client->head].millisecs = time.tv_usec / 1000;
client->event[client->head].pressure = tsdev->pressure;
x = tsdev->x;