Files
linux/drivers/input/serio
Krzysztof Kozlowski fc6f925032 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>
2023-05-16 09:39:09 +09:00
..
2023-05-15 16:06:09 +09:00
2023-05-15 16:06:11 +09:00
2017-07-27 15:08:05 -07:00
2015-10-27 18:55:31 -07:00
2015-10-27 18:55:31 -07:00
2012-11-24 00:05:38 -08:00
2016-09-21 07:57:11 -07:00
2015-10-27 18:55:31 -07:00