linux/drivers/input/serio
Krzysztof Kozlowski 7bdbfb491f Input: sun4i-ps2 - fix handling of platform_get_irq() error
[ Upstream commit cafb3abea6 ]

platform_get_irq() returns -ERRNO on error.  In such case comparison
to 0 would pass the check.

Fixes: e443631d20 ("Input: serio - add support for Alwinner A10/A20 PS/2 controller")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200828145744.3636-4-krzk@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-30 10:38:24 +01:00
..
altera_ps2.c
ambakmi.c
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
hp_sdc_mlc.c
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
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 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
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
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
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