Changeset 12139


Ignore:
Timestamp:
2008-08-05T18:42:43+02:00 (10 years ago)
Author:
nbd
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/files/arch/mips/atheros/gpio.c

    r10872 r12139  
    163163                        /* Set the gpio level trigger mode */ 
    164164/*                      reg &= ~(AR5315_GPIO_INT_LVL_M(i)); */ 
    165                         reg |= AR5315_GPIO_INT_LVL(i); 
     165                        reg |= AR5315_GPIO_INT_LVL(def_lvl); 
    166166 
    167167                        /* Enable the gpio pin */ 
Note: See TracChangeset for help on using the changeset viewer.