Skip to content

Commit

Permalink
HID: set HID_MAX_FIELD at 128
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Tissoires authored and Jiri Kosina committed Jan 11, 2011
1 parent 0d2689c commit 281054a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 281054a

Please sign in to comment.