mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
66da876962
Certain versions of Cypress USB barcode readers (this problem is known to happen at least with PIDs 0xde61 and 0xde64) have report descriptor which has swapped usage min and usage max tag. This results in HID parser failing for report descriptor of these devices, as it (wrongly) requires allocating more usages than HID_MAX_USAGES. Solve this by walking through the report descriptor for such devices, and swap the usage min and usage max items (and their values) to be in proper order. Reported-by: Bret Towe <magnade@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> |
||
---|---|---|
.. | ||
hid-core.c | ||
hid-ff.c | ||
hid-lgff.c | ||
hid-pidff.c | ||
hid-plff.c | ||
hid-quirks.c | ||
hid-tmff.c | ||
hid-zpff.c | ||
hiddev.c | ||
Kconfig | ||
Makefile | ||
usbhid.h | ||
usbkbd.c | ||
usbmouse.c |