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: firefly_0821_release~28355 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65f88f89c94d877794a6006f210d75d2974a182e;p=firefly-linux-kernel-4.4.55.git 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 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;