Re: [PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-19 Thread Linus Walleij
On Wed, Oct 17, 2012 at 8:32 PM, Stephen Warren wrote: > On 10/16/2012 04:33 PM, Stephen Warren wrote: >> On 10/16/2012 01:23 PM, Linus Walleij wrote: >>> The MXS driver tries to do the work of irq_domain_add_linear() >>> by reserving a bunch of descriptors somewhere and keeping track >>> of the b

Re: [PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-17 Thread Shawn Guo
On Tue, Oct 16, 2012 at 09:23:33PM +0200, Linus Walleij wrote: > The MXS driver tries to do the work of irq_domain_add_linear() s/MXS/tegra > by reserving a bunch of descriptors somewhere and keeping track > of the base offset, then calling irq_domain_add_legacy(). Let's > stop doing that and sim

Re: [PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-17 Thread Stephen Warren
On 10/16/2012 04:33 PM, Stephen Warren wrote: > On 10/16/2012 01:23 PM, Linus Walleij wrote: >> The MXS driver tries to do the work of irq_domain_add_linear() >> by reserving a bunch of descriptors somewhere and keeping track >> of the base offset, then calling irq_domain_add_legacy(). Let's >> sto

Re: [PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-16 Thread Stephen Warren
On 10/16/2012 01:23 PM, Linus Walleij wrote: > The MXS driver tries to do the work of irq_domain_add_linear() > by reserving a bunch of descriptors somewhere and keeping track > of the base offset, then calling irq_domain_add_legacy(). Let's > stop doing that and simply use the linear IRQ domain.

[PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-16 Thread Linus Walleij
The MXS driver tries to do the work of irq_domain_add_linear() by reserving a bunch of descriptors somewhere and keeping track of the base offset, then calling irq_domain_add_legacy(). Let's stop doing that and simply use the linear IRQ domain. Cc: Rob Herring Cc: Grant Likely Cc: Stephen Warren