Re: [PATCH v1 1/1] pinctr: microchip-sgpio: Correct the fwnode_irq_get() return value check

From: Michael Walle
Date: Mon Sep 05 2022 - 18:24:50 EST


Am 2022-09-05 21:08, schrieb Andy Shevchenko:
fwnode_irq_get() may return all possible signed values, such as Linux
error code. Fix the code to handle this properly.

Fixes: be2dc859abd4 ("pinctrl: pinctrl-microchip-sgpio: Add irq
support (for sparx5)")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Michael Walle <michael@xxxxxxxx>

Btw. do we care about EPROBE_DEFER?

-michael