diff options
| -rw-r--r-- | target/linux/atheros/files/arch/mips/atheros/gpio.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/target/linux/atheros/files/arch/mips/atheros/gpio.c b/target/linux/atheros/files/arch/mips/atheros/gpio.c index 26fba0644..c51de6164 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); | 
