diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2015-12-16 02:52:44 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-22 12:19:49 +0300 |
commit | 9ae482104cb99076e007ae15792a3194fc1eedd8 (patch) | |
tree | 3af186305493514f942f0bf66d073310d9ec463d /drivers/vhost | |
parent | f3154a46b64ca74be258e1e00b36596499ab6159 (diff) | |
download | linux-9ae482104cb99076e007ae15792a3194fc1eedd8.tar.xz |
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/vhost')
0 files changed, 0 insertions, 0 deletions