diff options
| author | Andy Shevchenko <[email protected]> | 2022-09-06 14:50:21 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2022-09-08 10:34:27 +0200 |
| commit | 6323f916686d4e9d299a53114b28ecaf833422cd (patch) | |
| tree | ab977127d497e74f152d1c438a44d03c82b8c8f5 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 8c943137c00a773ece8d324862910d53832a97a1 (diff) | |
pinctrl: microchip-sgpio: Correct the fwnode_irq_get() return value check
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 <[email protected]>
Reviewed-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions