]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/irqchip/irq-vic.c
ARM: 7394/1: VIC: respect list of valid sources
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Apr 2012 07:02:03 +0000 (08:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 25 Apr 2012 11:57:07 +0000 (12:57 +0100)
commitfa943bed68c85e1ebac4b9dd6398ad6fd0f53567
treecb89076b24ef3c58c2aa901569300ed90195b1c7
parent98fab064d321f740fde24785d1421523d249fc0e
ARM: 7394/1: VIC: respect list of valid sources

The current IRQ domain implementation in the VIC allocates 32
interrupts for each VIC instance no matter whether the
controller actually use all the IRQs or not. Alter this so
we only allocate a domain up until the last IRQ marked valid.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/vic.c