Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Laxman Dewangan
On Wednesday 07 November 2012 10:38 PM, Stephen Warren wrote: On 11/07/2012 08:01 AM, Laxman Dewangan wrote: The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so

Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Stephen Warren
On 11/07/2012 08:01 AM, Laxman Dewangan wrote: > The gpio interrupts get mapped linearly and hence the mapping > of irq need to be created by irq_create_mapping(). > > The function gpio_to_irq() returns the irq by irq_find_mapping() > and so returns 0 as there is no mapping created. Fix the

[PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Laxman Dewangan
The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so returns 0 as there is no mapping created. Fix the function to create mapping when gpio_to_irq() get called.

[PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Laxman Dewangan
The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so returns 0 as there is no mapping created. Fix the function to create mapping when gpio_to_irq() get called.

Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Stephen Warren
On 11/07/2012 08:01 AM, Laxman Dewangan wrote: The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so returns 0 as there is no mapping created. Fix the function

Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Laxman Dewangan
On Wednesday 07 November 2012 10:38 PM, Stephen Warren wrote: On 11/07/2012 08:01 AM, Laxman Dewangan wrote: The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so