linux/drivers/input/serio
Helge Deller 286d11dbf7 hil/parisc: Disable HIL driver when it gets stuck
commit 879bc2d279 upstream.

When starting a HP machine with HIL driver but without an HIL keyboard
or HIL mouse attached, it may happen that data written to the HIL loop
gets stuck (e.g. because the transaction queue is full).  Usually one
will then have to reboot the machine because all you see is and endless
output of:
 Transaction add failed: transaction already queued?

In the higher layers hp_sdc_enqueue_transaction() is called to queued up
a HIL packet. This function returns an error code, and this patch adds
the necessary checks for this return code and disables the HIL driver if
further packets can't be sent.

Tested on a HP 730 and a HP 715/64 machine.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:08:54 +01:00
..
altera_ps2.c
ambakmi.c
ams_delta_serio.c
apbps2.c
arc_ps2.c
ct82c710.c
gscps2.c
hil_mlc.c hil/parisc: Disable HIL driver when it gets stuck 2020-11-05 11:08:54 +01:00
hp_sdc_mlc.c hil/parisc: Disable HIL driver when it gets stuck 2020-11-05 11:08:54 +01:00
hp_sdc.c parisc: Fix HP SDC hpa address output 2019-12-05 09:19:57 +01:00
hyperv-keyboard.c
i8042-io.h
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h
i8042-snirm.h
i8042-sparcio.h
i8042-unicore32io.h
i8042-x86ia64io.h Input: i8042 - add nopnp quirk for Acer Aspire 5 A515 2020-10-07 08:00:05 +02:00
i8042.c
i8042.h
Kconfig
libps2.c
maceps2.c
Makefile
olpc_apsp.c
parkbd.c
pcips2.c
ps2-gpio.c
ps2mult.c
q40kbd.c
rpckbd.c
sa1111ps2.c
serio_raw.c
serio.c
serport.c
sun4i-ps2.c Input: sun4i-ps2 - fix handling of platform_get_irq() error 2020-10-30 10:38:24 +01:00
userio.c
xilinx_ps2.c