Re: [PATCH v2 4/7] gpio: brcmstb: switch to handle_level_irq flow

2017-10-31 Thread Linus Walleij
On Tue, Oct 24, 2017 at 9:54 PM, Doug Berger wrote: > Reading and writing the gpio bank status register each time a pending > interrupt bit is serviced could cause new pending bits to be cleared > without servicing the associated interrupts. > > By using the handle_level_irq flow instead of the h

[PATCH v2 4/7] gpio: brcmstb: switch to handle_level_irq flow

2017-10-24 Thread Doug Berger
Reading and writing the gpio bank status register each time a pending interrupt bit is serviced could cause new pending bits to be cleared without servicing the associated interrupts. By using the handle_level_irq flow instead of the handle_simple_irq flow we get proper handling of interrupt maski