diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2025-01-18 11:13:34 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:39:18 +0200 |
commit | 241d9965109b4a5805cac78248a80313084ce1a1 (patch) | |
tree | c4985e4e623d9f418ce7e6ca76339a9bea5256cc /drivers/net/wwan/iosm/iosm_ipc_protocol.c | |
parent | 24307866e0ac0a5ddb462e766ceda5e27a6fbbe3 (diff) |
pinctrl: nuvoton: npcm8xx: Fix error handling in npcm8xx_gpio_fw()
[ Upstream commit d6c6fd77e5816e3f6689a2767cdd777797506f24 ]
fwnode_irq_get() was changed to not return 0, fix this by checking
for negative error, also update the error log.
Fixes: acf4884a5717 ("pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver")
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/20250118031334.243324-1-yuehaibing@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions