]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4557/1: Fix PXA irq gpio initialization
authorSamuel <sameo@openedhand.com>
Tue, 28 Aug 2007 18:56:34 +0000 (19:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 28 Aug 2007 21:59:43 +0000 (22:59 +0100)
commitbf9b6f8d93eac0626439dac9ee672dc4e217c844
tree43e70f2fddb67614a659086cfb3e83d4cd3dfef8
parentf33e9acbdd0b2a239a08a85e74e4476854bd60e7
[ARM] 4557/1: Fix PXA irq gpio initialization

As pointed out by Jrgen, we are overflowing the number of GPIOs
in pxa_init_irq_gpio(). I'm seeing the same problem on my HTC
Universal PXA270 based PDA.
According to Eric, the function argument is the number of GPIOs,
so we should keep the semantics and reduce the number of
iteration by 1.

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Acked-by: Jrgen Schindele <linux@schindele.name>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/irq.c