[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq

2014-07-04 Thread Maxime Ripard
Hi, On Tue, Jul 01, 2014 at 12:04:59AM +0800, Chen-Yu Tsai wrote: When mapping the interrupts, the gpio_to_irq function did not consider the bank number of the gpio pin in question, only the offset or the interrupt number in the bank. As a result, requests for interrupts in the later banks

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq

2014-07-04 Thread Chen-Yu Tsai
On Fri, Jul 4, 2014 at 3:03 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Tue, Jul 01, 2014 at 12:04:59AM +0800, Chen-Yu Tsai wrote: When mapping the interrupts, the gpio_to_irq function did not consider the bank number of the gpio pin in question, only the offset or the

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq

2014-07-04 Thread Maxime Ripard
On Fri, Jul 04, 2014 at 03:11:04PM +0800, Chen-Yu Tsai wrote: On Fri, Jul 4, 2014 at 3:03 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Tue, Jul 01, 2014 at 12:04:59AM +0800, Chen-Yu Tsai wrote: When mapping the interrupts, the gpio_to_irq function did not consider

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq

2014-07-04 Thread Linus Walleij
On Mon, Jun 30, 2014 at 6:04 PM, Chen-Yu Tsai w...@csie.org wrote: When mapping the interrupts, the gpio_to_irq function did not consider the bank number of the gpio pin in question, only the offset or the interrupt number in the bank. As a result, requests for interrupts in the later banks