projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ddcca3
)
[ARM] 5023/1: Fix broken gpio interrupts on ep93xx
author
Ryan Mallon
<ryan@bluewatersys.com>
Mon, 28 Apr 2008 22:35:47 +0000
(23:35 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 4 May 2008 10:06:05 +0000
(11:06 +0100)
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>
arch/arm/mach-ep93xx/core.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-ep93xx/core.c
b/arch/arm/mach-ep93xx/core.c
index 8bc187240542e6611f051809c233796f331fcfef..1d7bca6aa441e3a092a87933a3d87e9c9a2f245f 100644
(file)
--- 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: