提交 7e55bded 编写于 作者: H Henrik Rydberg

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: NPing Cheng <pingc@wacom.com>
Acked-by: NJiri Kosina <jkosina@suse.cz>
Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
上级 9ebf3d76
...@@ -414,7 +414,7 @@ struct hid_field { ...@@ -414,7 +414,7 @@ struct hid_field {
__u16 dpad; /* dpad input code */ __u16 dpad; /* dpad input code */
}; };
#define HID_MAX_FIELDS 128 #define HID_MAX_FIELDS 256
struct hid_report { struct hid_report {
struct list_head list; struct list_head list;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册