summaryrefslogtreecommitdiff
path: root/usr/src/dkms_source_tree/hid-egalax.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/dkms_source_tree/hid-egalax.c')
-rw-r--r--usr/src/dkms_source_tree/hid-egalax.c3
1 files changed, 2 insertions, 1 deletions
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,
225 case HID_GD_Y: 225 case HID_GD_Y:
226 td->tmp.y = value; 226 td->tmp.y = value;
227 /* this is the last field in a finger */ 227 /* this is the last field in a finger */
228 egalax_filter_event(td, input); 228 if (td->valid)
229 egalax_filter_event(td, input);
229 break; 230 break;
230 case HID_DG_CONTACTCOUNT: 231 case HID_DG_CONTACTCOUNT:
231 /* touch emulation: this is the last field in a frame */ 232 /* touch emulation: this is the last field in a frame */