diff options
Diffstat (limited to 'drivers/hid/hid-cando.c')
-rw-r--r-- | drivers/hid/hid-cando.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-cando.c b/drivers/hid/hid-cando.c index 4fc8f513dcc5..f9b2233d9e47 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) | |||
211 | return -ENOMEM; | 211 | return -ENOMEM; |
212 | } | 212 | } |
213 | hid_set_drvdata(hdev, td); | 213 | hid_set_drvdata(hdev, td); |
214 | td->first = false; | ||
215 | td->oldest = -1; | ||
216 | td->valid = false; | ||
214 | 217 | ||
215 | ret = hid_parse(hdev); | 218 | ret = hid_parse(hdev); |
216 | if (!ret) | 219 | if (!ret) |