linux/drivers/input/serio
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
..
altera_ps2.c Input: altera_ps2 - remove redundant platform_set_drvdata() 2013-05-05 20:15:03 -07:00
ambakmi.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
ams_delta_serio.c ARM: OMAP1: Move board-ams-delta.h from plat to mach 2012-09-20 15:02:19 -07:00
apbps2.c Input: apbps2 - convert to devm_ioremap_resource() 2013-04-15 13:40:33 -07:00
arc_ps2.c Input: keyboard, serio - simplify use of devm_ioremap_resource 2013-08-15 00:30:17 -07:00
at32psif.c Input: at32psif - remove redundant platform_set_drvdata() 2013-05-05 20:15:07 -07:00
ct82c710.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
gscps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
hil_mlc.c Input: HIL - do not call tasklet_disable right before tasklet_kill 2012-11-25 00:10:13 -08:00
hp_sdc_mlc.c Input: serio HIL MLC - don't deref null, don't leak and return proper error 2010-11-20 13:38:18 -08:00
hp_sdc.c input/serio/hp_sdc.c: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:38:34 -04:00
i8042-io.h Input: i8042-io - fix up region handling on MIPS 2012-10-17 23:58:56 -07:00
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h Input: i8042 - remove SPRUCE support 2010-06-04 00:44:30 -07:00
i8042-snirm.h Input: i8042 - add SNI RM support 2008-03-14 11:54:06 -04:00
i8042-sparcio.h Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
i8042-unicore32io.h unicore32 io: redefine __REG(x) and re-use readl/writel funcs 2011-03-17 09:19:19 +08:00
i8042-x86ia64io.h x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops 2012-12-11 14:55:16 -08:00
i8042.c Input: i8042 - i8042_flush fix for a full 8042 buffer 2013-09-18 12:22:06 -07:00
i8042.h Input: add driver for slidebar on Lenovo IdeaPad laptops 2013-08-26 09:30:03 -07:00
Kconfig Input: i8042 - disable the driver on ARC platforms 2013-08-29 09:32:26 -07:00
libps2.c Input: libps2.c: fix comment typo arrrives. 2011-06-27 12:28:56 +02:00
maceps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
Makefile Input: add OLPC AP-SP driver 2013-06-30 20:09:18 -07:00
olpc_apsp.c Input: keyboard, serio - simplify use of devm_ioremap_resource 2013-08-15 00:30:17 -07:00
parkbd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pcips2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
ps2mult.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
q40kbd.c Input: q40kbd - remove redundant platform_set_drvdata() 2013-05-05 20:15:11 -07:00
rpckbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
sa1111ps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
serio_raw.c Input: serio_raw - signal EFAULT even if read/write partially succeeds 2012-05-02 00:21:13 -07:00
serio.c Input: serio - remove CONFIG_HOTPLUG ifdefs 2012-11-24 00:03:39 -08:00
serport.c Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
xilinx_ps2.c Input: xilinx_ps2 - remove redundant platform_set_drvdata() 2013-05-28 00:57:48 -07:00