Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e55bded authored by Henrik Rydberg's avatar Henrik Rydberg
Browse files

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: default avatarPing Cheng <pingc@wacom.com>
Acked-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
parent 9ebf3d76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;