summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-10-13 15:52:23 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-10-13 15:52:23 +0200
commitbe67ac88283ed44b5a2ca6a0779c0762fe17d7a1 (patch)
treee6ab8496b90b32609d8d17c3ba2d79276fa048db /usr/src
parent09a1cadbf817f4db57c80687465ff98de84b3476 (diff)
Bug fixed during testing of device id 0eef:480d
Prepared code was never invoked. Fixed with this patch. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'usr/src')
-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 */