projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36213e1
)
HID: fixed missing inits in hid-cando.c
author
Stephane Chatty
<chatty@lii-enac.fr>
Fri, 16 Apr 2010 20:23:58 +0000
(22:23 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 19 Apr 2010 11:20:13 +0000
(13:20 +0200)
With flags non initialized, the single touch emulation has an erratic
behavior. Fixed this.
Signed-off-by: Stephane Chatty <chatty@lii-enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-cando.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-cando.c
b/drivers/hid/hid-cando.c
index
4fc8f51
..
f9b2233
100644
(file)
--- a/
drivers/hid/hid-cando.c
+++ b/
drivers/hid/hid-cando.c
@@
-211,6
+211,9
@@
static int cando_probe(struct hid_device *hdev, const struct hid_device_id *id)
return -ENOMEM;
}
hid_set_drvdata(hdev, td);
+ td->first = false;
+ td->oldest = -1;
+ td->valid = false;
ret = hid_parse(hdev);
if (!ret)