From: Andrew Morton Date: Tue, 10 Jul 2007 04:43:06 +0000 (-0400) Subject: Input: tsdev - fix broken usec-to-millisecs conversion X-Git-Tag: v2.6.23-rc1~1159 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f88f89c94d877794a6006f210d75d2974a182e;p=linux-2.6 Input: tsdev - fix broken usec-to-millisecs conversion Noted by Fengwei Yin Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 4cd5bbc44c..d2f882e98e 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;