android_kernel_xiaomi_sm8350/arch/arm/mach-ixp2000
Lennert Buytenhek bd115ea007 [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>
2006-03-22 20:14:09 +00:00
..
core.c [ARM] 3378/1: ixp2000: fix gpio interrupt handling 2006-03-22 20:14:09 +00:00
enp2611.c [ARM] 3302/1: make pci=firmware the default for ixp2000 2006-02-08 21:09:04 +00:00
ixdp2x00.c
ixdp2x01.c [ARM] 3334/1: Add support for IXDP28x5 platforms 2006-03-21 22:06:06 +00:00
ixdp2400.c [ARM] 3302/1: make pci=firmware the default for ixp2000 2006-02-08 21:09:04 +00:00
ixdp2800.c [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
Kconfig [ARM] 3334/1: Add support for IXDP28x5 platforms 2006-03-21 22:06:06 +00:00
Makefile [ARM] 3373/1: move uengine loader to arch/arm/common 2006-03-21 22:06:16 +00:00
Makefile.boot
pci.c