From: Henrik Rydberg Date: Mon, 3 Sep 2012 10:28:59 +0000 (+0200) Subject: HID: Allow more fields in the hid report X-Git-Tag: next-20120911~60^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7d33472e6066c2381d1a446d26a3fe201c390a9c;p=karo-tx-linux.git HID: Allow more fields in the hid report Some recent hardware define more than 128 fields in the report descriptor. Increase the limit to 256. This adds another kilobyte of memory per report. Tested-by: Ping Cheng Acked-by: Jiri Kosina Signed-off-by: Henrik Rydberg --- diff --git a/include/linux/hid.h b/include/linux/hid.h index f37da2803005..7e1f37db7582 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -414,7 +414,7 @@ struct hid_field { __u16 dpad; /* dpad input code */ }; -#define HID_MAX_FIELDS 128 +#define HID_MAX_FIELDS 256 struct hid_report { struct list_head list;