HID: set HID_MAX_FIELD at 128
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Fri, 7 Jan 2011 22:45:11 +0000 (23:45 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 11 Jan 2011 20:26:54 +0000 (21:26 +0100)
Stantums multitouch panels sends more than 64 reports and this results
in not being able to handle all the touches given by this device.

This patch is required to be able to include Stantum panels in the
unified hid-multitouch driver.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h

index 96bd792..1ebc6e3 100644 (file)
@@ -402,7 +402,7 @@ struct hid_field {
        __u16 dpad;                     /* dpad input code */
 };
 
-#define HID_MAX_FIELDS 64
+#define HID_MAX_FIELDS 128
 
 struct hid_report {
        struct list_head list;