Re: [PATCH v2] pinctrl: nsp: Set irq handler based on trig type

2020-07-11 Thread Linus Walleij
On Fri, Jul 3, 2020 at 3:18 AM Mark Tomlinson wrote: > Rather than always using handle_simple_irq() as the gpio_irq_chip > handler, set a more appropriate handler based on the IRQ trigger type > requested. This is important for level triggered interrupts which need > to be masked during handling.

Re: [PATCH v2] pinctrl: nsp: Set irq handler based on trig type

2020-07-06 Thread Ray Jui
Hi Mark, On 7/2/2020 6:18 PM, Mark Tomlinson wrote: > Rather than always using handle_simple_irq() as the gpio_irq_chip > handler, set a more appropriate handler based on the IRQ trigger type > requested. This is important for level triggered interrupts which need > to be masked during handling. A

[PATCH v2] pinctrl: nsp: Set irq handler based on trig type

2020-07-02 Thread Mark Tomlinson
Rather than always using handle_simple_irq() as the gpio_irq_chip handler, set a more appropriate handler based on the IRQ trigger type requested. This is important for level triggered interrupts which need to be masked during handling. Also, fix the interrupt acknowledge so that it clears only one