Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 653efbb4 authored by Stephane Chatty's avatar Stephane Chatty Committed by Jiri Kosina
Browse files

HID: fixed missing inits in hid-cando.c



With flags non initialized, the single touch emulation has an erratic
behavior. Fixed this.

Signed-off-by: default avatarStephane Chatty <chatty@lii-enac.fr>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 36213e1e
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -211,6 +211,9 @@ static int cando_probe(struct hid_device *hdev, const struct hid_device_id *id)
		return -ENOMEM;
		return -ENOMEM;
	}
	}
	hid_set_drvdata(hdev, td);
	hid_set_drvdata(hdev, td);
	td->first = false;
	td->oldest = -1;
	td->valid = false;


	ret = hid_parse(hdev);
	ret = hid_parse(hdev);
	if (!ret)
	if (!ret)