diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-08-01 22:28:07 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-08-12 15:47:21 +0300 |
commit | a9084d888fbaaed65ded56f11d052cf8b04519a5 (patch) | |
tree | 8a93f17945e7f2b25341ea81e32b8f520f089ba2 /arch | |
parent | 7e4fd7a1a6fdf23d069eeb0ae0e8e46b9fb40723 (diff) | |
download | linux-a9084d888fbaaed65ded56f11d052cf8b04519a5.tar.xz |
irqchip/loongson-liointc: Fix an error handling path in liointc_init()
All errors lead to the error handling path, except the one dealing
with "reg-names" in DT.
Fix it and release some resources before returning if this test fails.
Fixes: 0858ed035a85 ("irqchip/loongson-liointc: Add ACPI init support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
[maz: fix commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1a6d74ab70712279023aa7bdbd31bd3aec103bc0.1659382063.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions