From: Lennert Buytenhek Date: Wed, 22 Mar 2006 20:14:09 +0000 (+0000) Subject: [ARM] 3378/1: ixp2000: fix gpio interrupt handling X-Git-Tag: v2.6.17-rc1~1122^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd115ea007e671e96b8b53c2e0e885103d39fd40;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed