mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
HID: bump maximum global item tag report size to 96 bytes
commit e46e927b9b upstream.
This allows the latest N-Trig devices to function properly.
BugLink: https://bugs.launchpad.net/bugs/724831
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dbbef3cbde
commit
729a976876
@@ -361,7 +361,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item)
|
||||
|
||||
case HID_GLOBAL_ITEM_TAG_REPORT_SIZE:
|
||||
parser->global.report_size = item_udata(item);
|
||||
if (parser->global.report_size > 32) {
|
||||
if (parser->global.report_size > 96) {
|
||||
dbg_hid("invalid report_size %d\n",
|
||||
parser->global.report_size);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user