Message ID | 20100416202358.7839695164@smtp.lii-enac.fr (mailing list archive) |
---|---|
State | Accepted |
Commit | 653efbb4b2c796a39c67501e4bce983a41278dfa |
Headers | show |
diff -rupN a/drivers/hid/hid-cando.c b/drivers/hid/hid-cando.c --- a/drivers/hid/hid-cando.c 2010-04-16 22:04:20.000000000 +0200 +++ b/drivers/hid/hid-cando.c 2010-04-16 22:02:38.000000000 +0200 @@ -211,6 +211,9 @@ static int cando_probe(struct hid_device return -ENOMEM; } hid_set_drvdata(hdev, td); + td->first = false; + td->oldest = -1; + td->valid = false; ret = hid_parse(hdev); if (!ret)