diff options
author | Ryan Mallon <ryan@bluewatersys.com> | 2008-04-29 00:35:47 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-04 12:06:05 +0200 |
commit | f8b6389bd53361a19ec5236e298527c9c905ca4d (patch) | |
tree | b58b7fba65dad5ec0a7bda845ccd77189a98f502 /arch/arm/mach-ep93xx | |
parent | Linux 2.6.26-rc1 (diff) | |
download | linux-f8b6389bd53361a19ec5236e298527c9c905ca4d.tar.xz linux-f8b6389bd53361a19ec5236e298527c9c905ca4d.zip |
[ARM] 5023/1: Fix broken gpio interrupts on ep93xx
Change gpio_direction_output to gpio_direction_input in
ep93xx_gpio_irq_type. Fixes broken gpio interrupts.
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 8bc187240542..1d7bca6aa441 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c @@ -280,7 +280,7 @@ static int ep93xx_gpio_irq_type(unsigned int irq, unsigned int type) const int port = gpio >> 3; const int port_mask = 1 << (gpio & 7); - gpio_direction_output(gpio, gpio_get_value(gpio)); + gpio_direction_input(gpio); switch (type) { case IRQT_RISING: |