ar71xx/ath79: ew-dorin, fix the trigger level for WPS button
Because the WPS button had the wrong trigger level, the failsafe mode was triggered quite often, after this commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=27f3f493de Signed-off-by: Catrinel Catrinescu <cc@80211.de>
This commit is contained in:
		 Catrinel Catrinescu
					Catrinel Catrinescu
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							ec8e8e2ef0
						
					
				
				
					commit
					3e03b7ac4a
				
			| @@ -47,7 +47,7 @@ static struct gpio_keys_button dorin_gpio_keys[] __initdata = { | |||||||
| 		.code		= KEY_WPS_BUTTON, | 		.code		= KEY_WPS_BUTTON, | ||||||
| 		.debounce_interval = DORIN_KEYS_DEBOUNCE_INTERVAL, | 		.debounce_interval = DORIN_KEYS_DEBOUNCE_INTERVAL, | ||||||
| 		.gpio		= DORIN_GPIO_BTN_JUMPSTART, | 		.gpio		= DORIN_GPIO_BTN_JUMPSTART, | ||||||
| 		.active_low	= 1, | 		.active_low	= 0, | ||||||
| 	}, | 	}, | ||||||
| 	{ | 	{ | ||||||
| 		.desc		= "reset button", | 		.desc		= "reset button", | ||||||
|   | |||||||
| @@ -33,7 +33,7 @@ | |||||||
| 		wps { | 		wps { | ||||||
| 			label = "wps"; | 			label = "wps"; | ||||||
| 			linux,code = <KEY_WPS_BUTTON>; | 			linux,code = <KEY_WPS_BUTTON>; | ||||||
| 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>; | 			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		reset { | 		reset { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user