aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-11-07 11:08:05 -0800
committerJiri Kosina <jkosina@suse.cz>2011-11-16 14:52:10 +0100
commite46e927b9b7e8d95526e69322855243882b7e1a3 (patch)
tree6409fa0f8b0c81b97c2e45dbd80d33d3af1ccc99
parent8383c6bf9356cfd7093f7afbf16d2b8b4e1c2772 (diff)
downloadxen-e46e927b9b7e8d95526e69322855243882b7e1a3.tar.gz
HID: bump maximum global item tag report size to 96 bytes
This allows the latest N-Trig devices to function properly. BugLink: https://bugs.launchpad.net/bugs/724831 Cc: stable@vger.kernel.org Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 848a56c0279c8..6113996d5f702 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -362,7 +362,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;