[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEgOgz5USCRS5cB6bchFjZfafE6syPzWob8H8yNjczgKLB_RRw@mail.gmail.com>
Date: Wed, 4 Dec 2013 14:42:50 +1000
From: Peter Crosthwaite <peter.crosthwaite@...inx.com>
To: grant-likely <grant-likely@...aro.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Rob Herring <rob.herring@...xeda.com>
Subject: Re: [PATCH v1 1/2] of: irq: Ignore disabled intc's when searching map
Ping!
On Thu, Nov 28, 2013 at 5:26 PM, Peter Crosthwaite
<peter.crosthwaite@...inx.com> wrote:
> 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@...inx.com>
> Acked-by: Michal Simek <michal.simek@...inx.com>
> ---
> drivers/of/irq.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/of/irq.c b/drivers/of/irq.c
> index 786b0b4..22e414b 100644
> --- a/drivers/of/irq.c
> +++ b/drivers/of/irq.c
> @@ -217,6 +217,9 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq)
> goto fail;
> }
>
> + if (!of_device_is_available(newpar))
> + match = 0;
> +
> /* Get #interrupt-cells and #address-cells of new
> * parent
> */
> --
> 1.8.4.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists