Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grygorii Strashko
Hi Grant, On 05/20/2014 09:17 AM, Grant Likely wrote: On Mon, 19 May 2014 14:57:39 +0200, Thierry Reding wrote: On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] /** + * of_irq_get_byname - Decode a node's IRQ

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grygorii Strashko
Hi Thierry, On 05/19/2014 03:57 PM, Thierry Reding wrote: > On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: > [...] >> diff --git a/drivers/of/irq.c b/drivers/of/irq.c > [...] >> /** >> + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq >> number >> + *

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grant Likely
On Mon, 19 May 2014 14:57:39 +0200, Thierry Reding wrote: > On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: > [...] > > diff --git a/drivers/of/irq.c b/drivers/of/irq.c > [...] > > /** > > + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq > > number >

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grant Likely
On Mon, 19 May 2014 14:57:39 +0200, Thierry Reding thierry.red...@gmail.com wrote: On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] /** + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grygorii Strashko
Hi Thierry, On 05/19/2014 03:57 PM, Thierry Reding wrote: On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] /** + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number + * @dev:

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-20 Thread Grygorii Strashko
Hi Grant, On 05/20/2014 09:17 AM, Grant Likely wrote: On Mon, 19 May 2014 14:57:39 +0200, Thierry Reding thierry.red...@gmail.com wrote: On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] /** + *

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-19 Thread Thierry Reding
On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] > diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] > /** > + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq > number > + * @dev: pointer to device tree node > + * @name: zero-based index of the

[RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-19 Thread Grygorii Strashko
The commit 9ec36cafe43bf835f8f29273597a5b0cbc8267ef "of/irq: do irq resolution in platform_get_irq" from Rob Herring - moves resolving of the interrupt resources in platform_get_irq(). But this solution isn't complete because platform_get_irq_byname() need to be modified the same way. Hence, fix

[RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-19 Thread Grygorii Strashko
The commit 9ec36cafe43bf835f8f29273597a5b0cbc8267ef of/irq: do irq resolution in platform_get_irq from Rob Herring - moves resolving of the interrupt resources in platform_get_irq(). But this solution isn't complete because platform_get_irq_byname() need to be modified the same way. Hence, fix it

Re: [RFC PATCH] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-19 Thread Thierry Reding
On Mon, May 19, 2014 at 04:30:59PM +0300, Grygorii Strashko wrote: [...] diff --git a/drivers/of/irq.c b/drivers/of/irq.c [...] /** + * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number + * @dev: pointer to device tree node + * @name: zero-based index of the irq