Re: [PATCH v1 1/1] pinctrl: pistachio: Correct the fwnode_irq_get() return value check

From: Linus Walleij
Date: Thu Sep 08 2022 - 09:19:49 EST


On Thu, Sep 8, 2022 at 11:43 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> fwnode_irq_get() may return all possible signed values, such as Linux
> error code or 0. Fix the code to handle this properly.
>
> Fixes: 1074e1d23a5c ("pinctrl: pistachio: Switch to use fwnode instead of")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij