Commit 7e55bdedfa4a72baa0d4fec8d0948cb65342a9a0

Authored by Henrik Rydberg
1 parent 9ebf3d7687

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 <pingc@wacom.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -414,7 +414,7 @@
414 414 __u16 dpad; /* dpad input code */
415 415 };
416 416  
417   -#define HID_MAX_FIELDS 128
  417 +#define HID_MAX_FIELDS 256
418 418  
419 419 struct hid_report {
420 420 struct list_head list;