Commit 50c6086e authored by Haotian Zhang's avatar Haotian Zhang Committed by Greg Kroah-Hartman
Browse files

gpio: ljca: Fix duplicated IRQ mapping



[ Upstream commit 4c4e6ea4 ]

The generic_handle_domain_irq() function resolves the hardware IRQ
internally. The driver performed a duplicative mapping by calling
irq_find_mapping() first, which could lead to an RCU stall.

Delete the redundant irq_find_mapping() call and pass the hardware IRQ
directly to generic_handle_domain_irq().

Fixes: c5a4b6fd ("gpio: Add support for Intel LJCA USB GPIO driver")
Signed-off-by: default avatarHaotian Zhang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20251023070231.1305-1-vulab@iscas.ac.cn


[Bartosz: remove unused variable]
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e7200d6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment