projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d43337e
)
atheros: fix setting the gpio interrupt level when registering a gpio interrupt
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 5 Aug 2008 16:42:43 +0000
(16:42 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 5 Aug 2008 16:42:43 +0000
(16:42 +0000)
SVN-Revision: 12139
target/linux/atheros/files/arch/mips/atheros/gpio.c
patch
|
blob
|
history
diff --git
a/target/linux/atheros/files/arch/mips/atheros/gpio.c
b/target/linux/atheros/files/arch/mips/atheros/gpio.c
index 26fba0644683a33cbc1ed808266b3d3f331511fa..c51de6164db21f17f0825a5b3d0c63cbb5c262fa 100644
(file)
--- a/
target/linux/atheros/files/arch/mips/atheros/gpio.c
+++ b/
target/linux/atheros/files/arch/mips/atheros/gpio.c
@@
-162,7
+162,7
@@
static void ar5315_gpio_intr_enable(unsigned int irq) {
/* Set the gpio level trigger mode */
/* reg &= ~(AR5315_GPIO_INT_LVL_M(i)); */
- reg |= AR5315_GPIO_INT_LVL(
i
);
+ reg |= AR5315_GPIO_INT_LVL(
def_lvl
);
/* Enable the gpio pin */
reg &= ~(AR5315_GPIO_INT_M);