diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/hid-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 500844f04f93..0b62bb510ffc 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -374,7 +374,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item) | |||
374 | 374 | ||
375 | case HID_GLOBAL_ITEM_TAG_REPORT_SIZE: | 375 | case HID_GLOBAL_ITEM_TAG_REPORT_SIZE: |
376 | parser->global.report_size = item_udata(item); | 376 | parser->global.report_size = item_udata(item); |
377 | if (parser->global.report_size > 96) { | 377 | if (parser->global.report_size > 128) { |
378 | hid_err(parser->device, "invalid report_size %d\n", | 378 | hid_err(parser->device, "invalid report_size %d\n", |
379 | parser->global.report_size); | 379 | parser->global.report_size); |
380 | return -1; | 380 | return -1; |