aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tsdev.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-07-10 00:43:06 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-07-10 00:43:06 -0400
commit65f88f89c94d877794a6006f210d75d2974a182e (patch)
tree68c20f68fe53777900d82e652321de4dba990d87 /drivers/input/tsdev.c
parent744c9c33eaa062f716c6ae0bcb022b47c3af8b73 (diff)
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/tsdev.c')
-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,
371 int x, y, tmp; 371 int x, y, tmp;
372 372
373 do_gettimeofday(&time); 373 do_gettimeofday(&time);
374 client->event[client->head].millisecs = time.tv_usec / 100; 374 client->event[client->head].millisecs = time.tv_usec / 1000;
375 client->event[client->head].pressure = tsdev->pressure; 375 client->event[client->head].pressure = tsdev->pressure;
376 376
377 x = tsdev->x; 377 x = tsdev->x;