From be67ac88283ed44b5a2ca6a0779c0762fe17d7a1 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 13 Oct 2010 15:52:23 +0200 Subject: Bug fixed during testing of device id 0eef:480d Prepared code was never invoked. Fixed with this patch. Signed-off-by: Henrik Rydberg --- usr/src/dkms_source_tree/hid-egalax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/src/dkms_source_tree/hid-egalax.c') diff --git a/usr/src/dkms_source_tree/hid-egalax.c b/usr/src/dkms_source_tree/hid-egalax.c index 1afc3a5..376998b 100644 --- a/usr/src/dkms_source_tree/hid-egalax.c +++ b/usr/src/dkms_source_tree/hid-egalax.c @@ -225,7 +225,8 @@ static int egalax_event(struct hid_device *hid, struct hid_field *field, case HID_GD_Y: td->tmp.y = value; /* this is the last field in a finger */ - egalax_filter_event(td, input); + if (td->valid) + egalax_filter_event(td, input); break; case HID_DG_CONTACTCOUNT: /* touch emulation: this is the last field in a frame */ -- cgit v1.2.3