summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-cando.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-cando.c')
-rw-r--r--drivers/hid/hid-cando.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-cando.c b/drivers/hid/hid-cando.c
index 4fc8f513dcc..f9b2233d9e4 100644
--- 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)