Thread (29 messages) 29 messages, 4 authors, 2017-10-23

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

From: Gregory Fong <hidden>
Date: 2017-10-04 02:00:25
Also in: linux-gpio, lkml

On Fri, Sep 29, 2017 at 8:40 PM, Doug Berger [off-list ref] 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 handle_simple_irq
flow we get proper handling of interrupt masking as well as acking
of interrupts.  The irq_ack method is added to support this.

Fixes: 19a7b6940b78 ("gpio: brcmstb: Add interrupt and wakeup source support")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Gregory Fong <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help