[RFC v3 2/5] hid: set HID_MAX_FIELD at 128

From: Benjamin Tissoires
Date: Fri Jan 07 2011 - 13:43:36 EST


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@xxxxxxx>
Acked-by: Henrik Rydberg <rydberg@xxxxxxxxxxx>
---
include/linux/hid.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/hid.h b/include/linux/hid.h
index 75303b0..b76af97 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;
--
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/