projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744c9c3
)
Input: tsdev - fix broken usec-to-millisecs conversion
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 10 Jul 2007 04:43:06 +0000
(
00:43
-0400)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Tue, 10 Jul 2007 04:43:06 +0000
(
00:43
-0400)
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>
drivers/input/tsdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/tsdev.c
b/drivers/input/tsdev.c
index 4cd5bbc44cca00be2c15ef631ab0f62506434b2b..d2f882e98e5e21c0c9c23b5d8c3e072883de052a 100644
(file)
--- 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 / 100
0
;
client->event[client->head].pressure = tsdev->pressure;
x = tsdev->x;