diff options
author | Doug Berger <opendmb@gmail.com> | 2017-10-24 12:54:48 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-10-31 10:29:53 +0100 |
commit | 2c218b9f1bcc30969195d472e7d29f59e4e2ced6 (patch) | |
tree | 3d0819672d1eac3fb7edde4658c0e98a45f99c77 /drivers/perf | |
parent | 142c168e0e50164e67c9399c28dedd65a307cfe5 (diff) | |
download | linux-2c218b9f1bcc30969195d472e7d29f59e4e2ced6.tar.gz linux-2c218b9f1bcc30969195d472e7d29f59e4e2ced6.tar.bz2 linux-2c218b9f1bcc30969195d472e7d29f59e4e2ced6.zip |
gpio: brcmstb: switch to handle_level_irq flow
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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions