]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit136a2db22527b83a5aeb27ebb1dcdfd07ae7fdac
treecb89076b24ef3c58c2aa901569300ed90195b1c7
parent5384283ad463fb06d1ad3baeac390331c60878cc
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