of: irq: Ignore disabled intc's when searching map
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Thu, 28 Nov 2013 07:26:12 +0000 (23:26 -0800)
committerRob Herring <rob.herring@calxeda.com>
Wed, 4 Dec 2013 19:12:50 +0000 (13:12 -0600)
commit1ca56e7dcadd865ae2c235789cbdbfebae719ffb
treee7a42e0216db97efd5f360bd64adae59d1dad2f6
parentbf49be02d6f92b95c2462e5027fc90b98f62e324
of: irq: Ignore disabled intc's when searching map

When searching the interrupt map, if a matched parent is disabled, just
ignore it and move on with the search.

This allows for specifying connection of a single device IRQ to
multiple interrupt controllers via the interrupt map schema. This change
allows for selection of the active interrupt controller via the already
existing status = "disabled" mechanism.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/irq.c