gpio: nuvoton: Fix sgpio irq handle error
authorJim Liu <jim.t90615@gmail.com>
Mon, 6 May 2024 06:42:44 +0000 (14:42 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 7 May 2024 07:44:33 +0000 (09:44 +0200)
commit7f45fe2ea3b8c85787976293126a4a7133b107de
tree6077a324ddaf69bea1205ba6dce24f1b9029e31f
parent2b5ae9c7d9e5ef4bc52c932fdf10328feb5167c6
gpio: nuvoton: Fix sgpio irq handle error

The generic_handle_domain_irq() function calls irq_resolve_mapping().
Thus delete a duplicative irq_find_mapping() call
so that a stack trace and an RCU stall will be avoided.

Fixes: c4f8457d17ce ("gpio: nuvoton: Add Nuvoton NPCM sgpio driver")
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240506064244.1645922-1-JJLIU0@nuvoton.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-npcm-sgpio.c