linux/drivers/input
Andrey Moiseev 2f0d260413 Input: i8042 - i8042_flush fix for a full 8042 buffer
When 8042 internal data buffer is full, the driver
erroneously decides that the controller is not present.

i8042_flush returns the number of flushed bytes, which is
in 0 - I8042_BUFFER_SIZE range inclusive. Therefore, i8042_flush
has no way to indicate an error. Moreover i8042_controller_check
takes initially full buffer (i8042_flush returned
I8042_BUFFER_SIZE) as a sign of absence of the controller.

Let's change i8042 to return success/error instead and make sure
we do not return error prematurely.

Signed-off-by: Andrey Moiseev <o2g.org.ru@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2013-09-18 12:22:06 -07:00
..
gameport Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
joystick Merge branch 'next' into for-linus 2013-09-06 20:23:44 -07:00
keyboard Input: pxa27x_keypad - fix NULL pointer dereference 2013-09-18 08:13:54 -07:00
misc Input: add driver for slidebar on Lenovo IdeaPad laptops 2013-08-26 09:30:03 -07:00
mouse Merge branch 'next' into for-linus 2013-09-06 20:23:44 -07:00
serio Input: i8042 - i8042_flush fix for a full 8042 buffer 2013-09-18 12:22:06 -07:00
tablet Merge branch 'next' into for-linus 2013-09-06 20:23:44 -07:00
touchscreen Merge branch 'next' into for-linus 2013-09-06 20:23:44 -07:00
apm-power.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
evbug.c
evdev.c Input: evdev - add EVIOCREVOKE ioctl 2013-09-07 12:53:20 -07:00
ff-core.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
ff-memless.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
input-compat.c compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-compat.h compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-mt.c Input: MT - handle semi-mt devices in core 2013-04-07 21:02:32 -07:00
input-polldev.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
input.c Input: document that unregistering managed devices is not necessary 2013-01-09 09:07:56 -08:00
joydev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
Kconfig Input: add couple of missing GENERIC_HARDIRQS dependencies 2013-02-13 20:21:07 -08:00
Makefile Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
matrix-keymap.c input: Export matrix_keypad_parse_of_params() 2013-04-19 00:31:13 +02:00
mousedev.c Input: mousedev - move /dev/input/mice to the correct minor 2012-11-18 23:15:16 -08:00
sparse-keymap.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00