[PATCH v2 4/4] Input: sun4i-ps2 - Fix handling of platform_get_irq() error
Chen-Yu Tsai
wens at csie.org
Fri Aug 28 11:34:28 EDT 2020
On Fri, Aug 28, 2020 at 10:58 PM Krzysztof Kozlowski <krzk at kernel.org> wrote:
>
> platform_get_irq() returns -ERRNO on error. In such case comparison
> to 0 would pass the check.
>
> Fixes: e443631d20f5 ("Input: serio - add support for Alwinner A10/A20 PS/2 controller")
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
Acked-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list