mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 14:56:47 +02:00
atheros: fix setting the gpio interrupt level when registering a gpio interrupt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12139 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
59e1467430
commit
32bf325b69
@ -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