Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65f88f89 authored by Andrew Morton's avatar Andrew Morton Committed by Dmitry Torokhov
Browse files

Input: tsdev - fix broken usec-to-millisecs conversion



Noted by Fengwei Yin <yfw.kernel@gmail.com>

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 744c9c33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;