HID: core: do not reject devices when they declare too many usages
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 24 Jul 2015 16:02:22 +0000 (12:02 -0400)
committerJiri Kosina <jkosina@suse.com>
Mon, 27 Jul 2015 12:41:30 +0000 (14:41 +0200)
Some device present proprietary collections with a usage min of 0x00 and
a usage max of 0xffff. hid-core currently reject them while most of the
time this is harmless.
Let's ignore the exceeding usages, and hope for the best.

Reported-by: Simon Wörner <mail@simon-woerner.de>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-core.c

Simple merge