]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: input/touchkitusb: handle multiple packets
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Sun, 27 Nov 2005 21:23:38 +0000 (22:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:39 +0000 (13:51 -0800)
commit5d3202949c9ac6e135d98bde15a8f05ad3fa5849
tree2807209840c56f37a003ebb9aa3a4e4171c3cfe9
parent8a4613f01f5bb850cab34e3db572d97251d997b3
[PATCH] USB: input/touchkitusb: handle multiple packets

Some versions of the controller seem to put multiple report packet into a
single urb. also it can happen that a packet is split across multiple urbs.
unpatched you get a jumpy cursor on some screens.
the patch does:
- handle multiple packets per urb
- handle packets split across multiple urb
- check packet type
- cleanups

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/touchkitusb.c