irqchip/gic: Don't initialise chip if mapping IO space fails
authorJon Hunter <jonathanh@nvidia.com>
Tue, 10 May 2016 15:14:40 +0000 (16:14 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:42 +0000 (10:12 +0100)
commit26acfe7463dc7162e595a8f7bd7ef3e06111e25d
tree057529e0cccad9423d2d29becb8099baa34c58fe
parent992345a58e0cbcd63c26226e3e818b4583c4a34d
irqchip/gic: Don't initialise chip if mapping IO space fails

If we fail to map the address space for the GIC distributor or CPU
interface, then don't attempt to initialise the chip, just WARN and
return.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c