summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_acpi.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2015-12-16 02:52:44 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-12-22 12:19:49 +0300
commit9ae482104cb99076e007ae15792a3194fc1eedd8 (patch)
tree3af186305493514f942f0bf66d073310d9ec463d /drivers/ata/pata_acpi.c
parentf3154a46b64ca74be258e1e00b36596499ab6159 (diff)
downloadlinux-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/ata/pata_acpi.c')
0 files changed, 0 insertions, 0 deletions