projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbbef3c
)
HID: bump maximum global item tag report size to 96 bytes
author
Chase Douglas
<chase.douglas@canonical.com>
Mon, 7 Nov 2011 19:08:05 +0000
(11:08 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 26 Jan 2012 01:24:37 +0000
(17:24 -0800)
commit
e46e927b9b7e8d95526e69322855243882b7e1a3
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>
drivers/hid/hid-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-core.c
b/drivers/hid/hid-core.c
index 763797da2d8a65cc035b3b7b28dbc31a391e1ab3..22d53e7a22307b8c4572df850c430321d208cc2f 100644
(file)
--- a/
drivers/hid/hid-core.c
+++ b/
drivers/hid/hid-core.c
@@
-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;