]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/aspeed-scu-ic: Fix irq_of_parse_and_map() return value
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 23 Apr 2022 09:42:27 +0000 (11:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:54 +0000 (10:22 +0200)
commit15fc0de403a2eb1745ecc6d2371edcc642cf0765
tree47a3fcc9e9ec3054dfad31f59f7e0920a9696d70
parent3df65a11ff0da9afdf6c8e45c7b97591394a06af
irqchip/aspeed-scu-ic: Fix irq_of_parse_and_map() return value

[ Upstream commit eb84bb3ceabe44616eb6d493fe14b2a7446b8bf1 ]

The irq_of_parse_and_map() returns 0 on failure, not a negative ERRNO.

Fixes: 002c111e43bd ("irqchip: Add Aspeed SCU interrupt controller")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220423094227.33148-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/irqchip/irq-aspeed-scu-ic.c