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

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:54:12 +0200, Linus Walleij wrote: > The Tegra 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

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

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:54:12 +0200, Linus Walleij linus.wall...@linaro.org wrote: The Tegra 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

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

2012-10-19 Thread Stephen Warren
On 10/19/2012 04:54 AM, Linus Walleij wrote: > The Tegra 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

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

2012-10-19 Thread Linus Walleij
The Tegra 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. For this to work: use irq_create_mapping() in the

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

2012-10-19 Thread Linus Walleij
The Tegra 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. For this to work: use irq_create_mapping() in the

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

2012-10-19 Thread Stephen Warren
On 10/19/2012 04:54 AM, Linus Walleij wrote: The Tegra 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.