irqchip/gic: Don't unnecessarily write the IRQ configuration
authorJon Hunter <jonathanh@nvidia.com>
Tue, 10 May 2016 15:14:38 +0000 (16:14 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:41 +0000 (10:12 +0100)
commitec1a454d6136b93e26902ead21025efc08047d05
tree2ce8d140d751af0c76aba528e185d420ff98a67e
parenta2a8fa5563d8740efaa8e62f653a6a85569c858b
irqchip/gic: Don't unnecessarily write the IRQ configuration

If the interrupt configuration matches the current configuration, then
don't bother writing the configuration again.

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-common.c