From 65f88f89c94d877794a6006f210d75d2974a182e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 10 Jul 2007 00:43:06 -0400 Subject: [PATCH] Input: tsdev - fix broken usec-to-millisecs conversion Noted by Fengwei Yin Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov --- drivers/input/tsdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5