projects
/
openwrt
/
staging
/
blogic.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
<
[email protected]
>
Fri, 16 Apr 2010 20:23:58 +0000
(22:23 +0200)
committer
Jiri Kosina
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Jiri Kosina <
[email protected]
>
drivers/hid/hid-cando.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-cando.c
b/drivers/hid/hid-cando.c
index 4fc8f513dcc5d3dbe3c2f4e9742ca27ddcf3e8a4..f9b2233d9e4780b5211980479b668154dd11c5cb 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)