Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-12 Thread Nicolas Ferre
On 29/07/2013 17:42, Linus Walleij : On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high). In th

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-07 Thread boris brezillon
On 07/08/2013 20:59, Linus Walleij wrote: On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high).

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-07 Thread Linus Walleij
On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: > The current implementation handle both edge and level interrupts with the > 'handle_simple_irq' handler. > > Level interrupts are active as long as the pin stays at the configured > level (low or high). In this case we have to use 'handle_

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-01 Thread boris brezillon
On 01/08/2013 13:04, Alexandre Belloni wrote: Hi, On 20/07/2013 16:51, Boris BREZILLON wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high). In th

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-01 Thread Alexandre Belloni
Hi, On 20/07/2013 16:51, Boris BREZILLON wrote: > The current implementation handle both edge and level interrupts with the > 'handle_simple_irq' handler. > > Level interrupts are active as long as the pin stays at the configured > level (low or high). In this case we have to use 'handle_level_irq

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-07-29 Thread boris brezillon
On 29/07/2013 17:42, Linus Walleij wrote: On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high).

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-07-29 Thread Linus Walleij
On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: > The current implementation handle both edge and level interrupts with the > 'handle_simple_irq' handler. > > Level interrupts are active as long as the pin stays at the configured > level (low or high). In this case we have to use 'handle_

[PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-07-20 Thread Boris BREZILLON
The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high). In this case we have to use 'handle_level_irq' which mask the interrupt until the handle has treated it