mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
atheros: fix setting the gpio interrupt level when registering a gpio interrupt
SVN-Revision: 12139
This commit is contained in:
parent
d43337e8f7
commit
5eab3b092d
@ -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 New Issue
Block a user