Re: [PATCH v2 4/4] Input: sun4i-ps2 - Fix handling of platform_get_irq() error
From: Chen-Yu Tsai
Date: Fri Aug 28 2020 - 11:34:52 EST
On Fri, Aug 28, 2020 at 10:58 PM Krzysztof Kozlowski <krzk@xxxxxxxxxx> 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@xxxxxxxxxx>
Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>