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 Input: ambakmi - constify amba_id 2017-08-24 16:07:24 -07:00
ams_delta_serio.c Input: ams_delta_serio: Get FIQ buffer from platform_data 2018-07-02 23:05:14 -07:00
apbps2.c
arc_ps2.c
ct82c710.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
gscps2.c parisc: Fix serio address output 2019-12-05 09:19:57 +01:00
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 Input: hyperv-keyboard: Use in-place iterator API in the channel callback 2019-09-10 10:33:49 +01:00
i8042-io.h Input: i8042 - skip selftest on ASUS laptops 2016-10-11 16:58:25 -07:00
i8042-ip22io.h Input: i8042 - skip selftest on ASUS laptops 2016-10-11 16:58:25 -07:00
i8042-jazzio.h
i8042-ppcio.h Input: i8042 - skip selftest on ASUS laptops 2016-10-11 16:58:25 -07:00
i8042-snirm.h
i8042-sparcio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
i8042-unicore32io.h Input: i8042 - skip selftest on ASUS laptops 2016-10-11 16:58:25 -07:00
i8042-x86ia64io.h Input: i8042 - add nopnp quirk for Acer Aspire 5 A515 2020-10-07 08:00:05 +02:00
i8042.c Input: i8042 - enable keyboard wakeups by default when s2idle is used 2018-10-01 15:58:53 -07:00
i8042.h
Kconfig docs: fix broken references with multiple hints 2018-06-15 18:10:01 -03:00
libps2.c Input: libps2 - relax command byte ACK handling 2018-02-02 16:50:28 -08:00
maceps2.c
Makefile Input: remove at32psif 2018-01-18 11:39:48 -08:00
olpc_apsp.c
parkbd.c
pcips2.c
ps2-gpio.c Input: ps2-gpio - flush TX work when closing port 2019-03-23 20:09:44 +01:00
ps2mult.c
q40kbd.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
rpckbd.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
sa1111ps2.c Input: sa1111ps2 - extend test delay 2017-09-26 11:52:08 -07:00
serio_raw.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
serio.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
serport.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
sun4i-ps2.c Input: sun4i-ps2 - fix handling of platform_get_irq() error 2020-10-30 10:38:24 +01:00
userio.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
xilinx_ps2.c Input: xilinx_ps2 - fix multiline comment style 2017-08-31 15:01:30 -07:00