Re: [PATCH v2 4/4] Input: sun4i-ps2 - Fix handling of platform_get_irq() error
From: Chen-Yu Tsai <hidden>
Date: 2020-08-28 15:34:52
Also in:
linux-input, lkml
From: Chen-Yu Tsai <hidden>
Date: 2020-08-28 15:34:52
Also in:
linux-input, lkml
On Fri, Aug 28, 2020 at 10:58 PM Krzysztof Kozlowski [off-list ref] 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@kernel.org>Acked-by: Chen-Yu Tsai <redacted> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel