]> git.baikalelectronics.ru Git - kernel.git/commit
HID: core: increase HID report buffer size to 8KiB
authorJohan Korsnes <jkorsnes@cisco.com>
Fri, 17 Jan 2020 12:08:36 +0000 (13:08 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 12 Feb 2020 13:18:33 +0000 (14:18 +0100)
commit271c0a574ea0a36954d7d5771c7ab22f6d5c72a4
tree16e6e17987b49795dbf33120d0eec6ce0cf6b576
parent412e6db346fb09f2d4c765464bc5167e32ffa762
HID: core: increase HID report buffer size to 8KiB

We have a HID touch device that reports its opens and shorts test
results in HID buffers of size 8184 bytes. The maximum size of the HID
buffer is currently set to 4096 bytes, causing probe of this device to
fail. With this patch we increase the maximum size of the HID buffer to
8192 bytes, making device probe and acquisition of said buffers succeed.

Signed-off-by: Johan Korsnes <jkorsnes@cisco.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Armando Visconti <armando.visconti@st.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h