[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v67mZTm4QuB=_T9Gih60KZ7E8n+J3OBk28rrO6kb_-JZKg@mail.gmail.com>
Date: Fri, 28 Aug 2020 23:34:28 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Maxime Ripard <mripard@...nel.org>,
linux-input@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 4/4] Input: sun4i-ps2 - Fix handling of
platform_get_irq() error
On Fri, Aug 28, 2020 at 10:58 PM Krzysztof Kozlowski <krzk@...nel.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@...nel.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists