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
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
evdev.c Input: scancode in get/set_keycodes should be unsigned 2010-03-08 23:19:15 -08:00
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
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
Makefile
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