diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2015-12-15 18:52:44 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-22 10:19:49 +0100 |
commit | 9ae482104cb99076e007ae15792a3194fc1eedd8 (patch) | |
tree | 3af186305493514f942f0bf66d073310d9ec463d /drivers/gpio/gpio-da9052.c | |
parent | f3154a46b64ca74be258e1e00b36596499ab6159 (diff) |
gpio: 104-idi-48: Clear pending interrupt once in IRQ handler
Performing a read operation on the IRQ Status register will clear the
IRQ latch. Since a read operation on the IRQ Status register must be
performed in the IRQ handler in order to determine if the IRQ was in
fact generated by the device, the IRQ latch is consequently cleared by
the IRQ handler. A spinlock is used to guarantee that each IRQ is
serviced in the order it was received.
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Diffstat (limited to 'drivers/gpio/gpio-da9052.c')
0 files changed, 0 insertions, 0 deletions