summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-cypress.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2015-07-24 19:02:22 +0300
committerJiri Kosina <jkosina@suse.com>2015-07-27 15:41:30 +0300
commitba53219809f4b3a08f21600a0f3b675620d518bc (patch)
treec2fe0808f9918180d534a085f5591d5374032669 /drivers/hid/hid-cypress.c
parent3eb4351af42bd8b6de20daab07b204a85c35248f (diff)
downloadlinux-ba53219809f4b3a08f21600a0f3b675620d518bc.tar.xz
HID: core: do not reject devices when they declare too many usages
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>
Diffstat (limited to 'drivers/hid/hid-cypress.c')
0 files changed, 0 insertions, 0 deletions