android_kernel_xiaomi_sm8350/drivers/usb/input
Michael Haboustak bf0964dcda Input: HID - handle multi-transascion reports
Fixes handling of multi-transaction reports for HID devices. New
function hid_size_buffers() that calculates the longest report
for each endpoint and stores the result in the hid_device object.
These lengths are used to allocate buffers that are large enough
to store any report on the endpoint. For compatibility, the minimum
size for an endpoint buffer set to HID_BUFFER_SIZE rather than the
known optimal case (the longest report length).

It fixes bug #3063 in bugzilla.

Signed-off-by: Michael Haboustak <mike-@cinci.rr.com>

I simplified the patch a bit to use just a single buffer size.

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-09-05 00:12:01 -05:00
..
acecad.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
aiptek.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
ati_remote.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
fixp-arith.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hid-core.c Input: HID - handle multi-transascion reports 2005-09-05 00:12:01 -05:00
hid-debug.h Input: HID - add more consumer usages 2005-09-05 00:08:08 -05:00
hid-ff.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hid-input.c Input: HID - add more consumer usages 2005-09-05 00:08:08 -05:00
hid-lgff.c Input: whitespace fixes in drivers/usb/input 2005-05-29 02:29:01 -05:00
hid-tmff.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hid.h Input: HID - handle multi-transascion reports 2005-09-05 00:12:01 -05:00
hiddev.c Input: whitespace fixes in drivers/usb/input 2005-05-29 02:29:01 -05:00
itmtouch.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
kbtab.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
Kconfig [PATCH] USB: add driver for Keyspan Digital Remote 2005-07-12 11:52:56 -07:00
keyspan_remote.c [PATCH] USB: add driver for Keyspan Digital Remote 2005-07-12 11:52:56 -07:00
Makefile [PATCH] USB: add driver for Keyspan Digital Remote 2005-07-12 11:52:56 -07:00
mtouchusb.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
pid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
powermate.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
touchkitusb.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
usbkbd.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
usbmouse.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00
wacom.c [PATCH] USB: fix usb wacom tablet driver bug 2005-08-16 21:06:25 -07:00
xpad.c Input: introduce usb_to_input_id() to uniformly produce 2005-06-30 00:49:08 -05:00