diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-03-22 20:14:09 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-22 20:14:09 +0000 |
commit | bd115ea007e671e96b8b53c2e0e885103d39fd40 (patch) | |
tree | e33f6a612f0a4dcb447d2bd3ce4678f928d94838 /include/asm-i386/pci-direct.h | |
parent | bec1b8193651ea4394cc4d6e18152cb83e735f93 (diff) |
[ARM] 3378/1: ixp2000: fix gpio interrupt handling
Patch from Lennert Buytenhek
ixp2000 used to initially mark GPIO interrupts as invalid, and not
mark them valid until set_irq_type() was called, but this doesn't
work if you want to use request_irq() with the SA_TRIGGER_* flags.
So, just mark the GPIO interrupts valid from the beginning. We
configure GPIOs as inputs when set_irq_type() is called anyway, so
this shouldn't be a problem.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-i386/pci-direct.h')
0 files changed, 0 insertions, 0 deletions