Changeset 45634


Ignore:
Timestamp:
2015-05-08T14:23:53+02:00 (3 years ago)
Author:
nbd
Message:

ar71xx: set all buttons to be active_low on wnr2000-v4

Originally pressing a button would trigger a release state and vice-versa,
as observed from hotplug.d.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c

    r45633 r45634  
    103103                .debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL, 
    104104                .gpio           = WNR2000V4_GPIO_BTN_WPS, 
     105                .active_low     = 1, 
    105106        }, 
    106107        { 
     
    110111                .debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL, 
    111112                .gpio           = WNR2000V4_GPIO_BTN_RESET, 
     113                .active_low     = 1, 
    112114        }, 
    113115        { 
     
    117119                .debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL, 
    118120                .gpio           = WNR2000V4_GPIO_BTN_WLAN, 
     121                .active_low     = 1, 
    119122        }, 
    120123}; 
Note: See TracChangeset for help on using the changeset viewer.