OSDN Git Service

irqchip: ingenic: Error out if IRQ domain creation failed
authorPaul Cercueil <paul@crapouillou.net>
Wed, 2 Oct 2019 11:25:22 +0000 (19:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 12:34:31 +0000 (13:34 +0100)
commitbe43769e604ce1f2560b6cd8ad9f6e30ddc56403
tree7910d5e3cd985b9e8c75cdc07f7ead48a3696011
parent57d030bc4a699606e42600af905dd9725d2f4369
irqchip: ingenic: Error out if IRQ domain creation failed

[ Upstream commit 52ecc87642f273a599c9913b29fd179c13de457b ]

If we cannot create the IRQ domain, the driver should fail to probe
instead of succeeding with just a warning message.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1570015525-27018-3-git-send-email-zhouyanjie@zoho.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/irqchip/irq-ingenic.c