[ARM] 3672/1: PXA: don't probe output GPIOs for interrupt
authorGuennadi Liakhovetski <gl@dsa-ac.de>
Wed, 28 Jun 2006 15:42:02 +0000 (16:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 28 Jun 2006 16:55:03 +0000 (17:55 +0100)
commite033108bf7e585755350b554048229d1fd10a02e
treedf4d6e15667478b7351859b8db576c136d0e253c
parent87c01737b1ccf821b93f74a26a0dc991dba16d19
[ARM] 3672/1: PXA: don't probe output GPIOs for interrupt

Patch from Guennadi Liakhovetski

Currently probe_irq_on() on PXA will silently reconfigure all output GPIOs, that are not configured as alternate functions, for input. Avoid that. Upon CPU reset all GPIOs are configured as inputs, so, if a GPIO is configured as output, it has been done so intentionally.

Signed-off-by: G. Liakhovetski <gl@dsa-ac.de>
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/irq.c