atheros: fix setting the gpio interrupt level when registering a gpio interrupt

SVN-Revision: 12139
lede-17.01
Felix Fietkau 2008-08-05 16:42:43 +00:00
parent d43337e8f7
commit 5eab3b092d
1 changed files with 1 additions and 1 deletions

View File

@ -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);