Skip to content

Commit

Permalink
Input: tsdev - fix broken usec-to-millisecs conversion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Dmitry Torokhov committed Jul 10, 2007
1 parent 744c9c3 commit 65f88f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/tsdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65f88f8

Please sign in to comment.