diff options
author | Andy Shevchenko <[email protected]> | 2022-09-08 12:43:23 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-09-08 15:18:58 +0200 |
commit | 88d60d7d94bfab00abef3596fbf54b460c2a45ec (patch) | |
tree | 3bbed8004be289d4bd60eef63f6ab7ae05315632 /lib/mpi/mpi-mod.c | |
parent | 1a41d1e5c8e5c5850a15abf3d18f610e9310b8ef (diff) |
pinctrl: pistachio: Correct the fwnode_irq_get() return value check
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions