X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Ffiles%2Farch%2Fmips%2Fatheros%2Fgpio.c;h=c51de6164db21f17f0825a5b3d0c63cbb5c262fa;hp=26fba0644683a33cbc1ed808266b3d3f331511fa;hb=d948aeb2ac7af05cc8eb01c912498b09d5ca4098;hpb=b109e4b11d18ec71649275fa96877ba3b927f196 diff --git a/target/linux/atheros/files/arch/mips/atheros/gpio.c b/target/linux/atheros/files/arch/mips/atheros/gpio.c index 26fba06446..c51de6164d 100644 --- 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);