aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>2011-01-07 23:45:11 +0100
committerJiri Kosina <jkosina@suse.cz>2011-01-11 21:26:54 +0100
commit281054ac8dfc083442c571be44f1c5b9821812ae (patch)
tree7ada0dc1404ad925730efcbba0bc2c3c774d6b27
parent0d2689c0f054f6a8bf3115d6386bd9c2d65dc44b (diff)
downloadkernel_samsung_smdk4412-281054ac8dfc083442c571be44f1c5b9821812ae.zip
kernel_samsung_smdk4412-281054ac8dfc083442c571be44f1c5b9821812ae.tar.gz
kernel_samsung_smdk4412-281054ac8dfc083442c571be44f1c5b9821812ae.tar.bz2
HID: set HID_MAX_FIELD at 128
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>
-rw-r--r--include/linux/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 96bd792..1ebc6e3 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -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;