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

SVN-Revision: 12139
This commit is contained in:
Felix Fietkau 2008-08-05 16:42:43 +00:00
parent d43337e8f7
commit 5eab3b092d

View File

@ -162,7 +162,7 @@ static void ar5315_gpio_intr_enable(unsigned int irq) {
/* Set the gpio level trigger mode */ /* Set the gpio level trigger mode */
/* reg &= ~(AR5315_GPIO_INT_LVL_M(i)); */ /* reg &= ~(AR5315_GPIO_INT_LVL_M(i)); */
reg |= AR5315_GPIO_INT_LVL(i); reg |= AR5315_GPIO_INT_LVL(def_lvl);
/* Enable the gpio pin */ /* Enable the gpio pin */
reg &= ~(AR5315_GPIO_INT_M); reg &= ~(AR5315_GPIO_INT_M);