android_kernel_xiaomi_sm8350/drivers/input
Vadim Zaliva 04b4b88cca Input: appletouch - fix integer overflow issue
When reading data from Geyser 2 touchpads used on post Oct 2005 Apple
PowerBooks the driver was casting X and Y coordinates values to
'signed char'. Testing on one of such PowerBooks I have noticed that
touchpad always generates positive values, but some of them are greater
that 127, and thus, when cast to 'signed char' being interpreted as
a negative.

Such bigger values have been observed infrequently, closer to the
edges of a touchpad, so the problem was not very visible.
Nevertheless, the patch would potentially improve touchpad
driver accuracy.

Signed-off-by: Vadim Zaliva <lord@crocodile.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-03-11 00:00:56 -08:00
..
gameport Input: ns558 - make pnp device ids constant 2010-01-09 23:29:13 -08:00
joystick Input: gamecon - fix off by one range check 2010-03-05 00:32:21 -08:00
keyboard Input: bf54x-keys - fix system hang when pressing a key 2010-03-09 22:09:07 -08:00
misc Input: add driver for TWL4030 vibrator device 2010-03-09 00:30:20 -08:00
mouse Input: appletouch - fix integer overflow issue 2010-03-11 00:00:56 -08:00
serio Input: serio_raw - remove BKL 2010-03-09 22:05:48 -08:00
tablet Input: wacom - merge out and in prox events 2010-03-05 00:36:10 -08:00
touchscreen Input: ad7877 - increase pen up imeout 2010-03-09 22:13:30 -08:00
apm-power.c
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c Input: scancode in get/set_keycodes should be unsigned 2010-03-08 23:19:15 -08:00
ff-core.c Input: fix memory leak in force feedback core 2009-12-04 22:16:38 -08:00
ff-memless.c Input: ff-memless - add notion of direction to for rumble effects 2009-12-24 21:54:29 -08:00
fixp-arith.h
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h [IA64] Remove COMPAT_IA32 support 2010-02-08 10:42:17 -08:00
input-polldev.c Input: polldev can cause crash in case when polling disabled 2010-02-20 01:23:55 -08:00
input.c Input: remove BKL, fix input_open_file() locking 2010-03-09 22:05:57 -08:00
joydev.c Input: mark input interfaces as non-seekable 2010-02-04 00:31:44 -08:00
Kconfig Merge branch 'xen/fbdev' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2009-12-10 09:34:40 -08:00
Makefile Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
mousedev.c Input: mousedev - remove BKL 2010-03-09 22:05:09 -08:00
sparse-keymap.c Input: scancode in get/set_keycodes should be unsigned 2010-03-08 23:19:15 -08:00
xen-kbdfront.c Input: xen-kbdfront - make xenbus device ids constant 2010-01-09 23:29:27 -08:00