[linux-sunxi] Re: [PATCH v2 1/5] pinctrl: sunxi: Fix sunxi_irq_cfg_reg not working for irqs >= 8

2014-06-09 Thread Hans de Goede
Hi, On 06/09/2014 03:21 PM, Linus Walleij wrote: > On Mon, Jun 2, 2014 at 12:18 PM, Maxime Ripard > wrote: >> On Sat, May 31, 2014 at 04:01:35PM +0200, Hans de Goede wrote: >>> Rename SUNXI_IRQ_NUMBER to IRQ_PER_BANK as it no longer represents the total >>> number of irqs and use it instead of th

[linux-sunxi] Re: [PATCH v2 1/5] pinctrl: sunxi: Fix sunxi_irq_cfg_reg not working for irqs >= 8

2014-06-09 Thread Linus Walleij
On Mon, Jun 2, 2014 at 12:18 PM, Maxime Ripard wrote: > On Sat, May 31, 2014 at 04:01:35PM +0200, Hans de Goede wrote: >> Rename SUNXI_IRQ_NUMBER to IRQ_PER_BANK as it no longer represents the total >> number of irqs and use it instead of the number of irqs-per-reg when >> calculating the bank to

[linux-sunxi] Re: [PATCH v2 1/5] pinctrl: sunxi: Fix sunxi_irq_cfg_reg not working for irqs >= 8

2014-06-02 Thread Maxime Ripard
On Sat, May 31, 2014 at 04:01:35PM +0200, Hans de Goede wrote: > Rename SUNXI_IRQ_NUMBER to IRQ_PER_BANK as it no longer represents the total > number of irqs and use it instead of the number of irqs-per-reg when > calculating the bank to use for the various sunxi_irq_xxx_reg functions. > This fixe