atheros: fix setting the gpio interrupt level when registering a gpio interrupt
SVN-Revision: 12139
This commit is contained in:
parent
d43337e8f7
commit
5eab3b092d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue