ipq40xx: whw03v2: fix handling of RGB LED
The RGB LED should glow green in the 'running' state, but it was glowing cyan because the blue component defaulted to 'on'. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
This commit is contained in:
		 Rodrigo Balerdi
					Rodrigo Balerdi
				
			
				
					committed by
					
						 Robert Marko
						Robert Marko
					
				
			
			
				
	
			
			
			 Robert Marko
						Robert Marko
					
				
			
						parent
						
							5fe0d296c1
						
					
				
				
					commit
					fc62d66c20
				
			| @@ -277,21 +277,18 @@ | |||||||
| 		led_red: red@0 { | 		led_red: red@0 { | ||||||
| 			color = <LED_COLOR_ID_RED>; | 			color = <LED_COLOR_ID_RED>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "none"; |  | ||||||
| 			reg = <0>; | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		led_green: green@1 { | 		led_green: green@1 { | ||||||
| 			color = <LED_COLOR_ID_GREEN>; | 			color = <LED_COLOR_ID_GREEN>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "none"; |  | ||||||
| 			reg = <1>; | 			reg = <1>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		led_blue: blue@2 { | 		led_blue: blue@2 { | ||||||
| 			color = <LED_COLOR_ID_BLUE>; | 			color = <LED_COLOR_ID_BLUE>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "default-on"; |  | ||||||
| 			reg = <2>; | 			reg = <2>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
| @@ -277,21 +277,18 @@ | |||||||
| 		led_red: red@0 { | 		led_red: red@0 { | ||||||
| 			color = <LED_COLOR_ID_RED>; | 			color = <LED_COLOR_ID_RED>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "none"; |  | ||||||
| 			reg = <0>; | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		led_green: green@1 { | 		led_green: green@1 { | ||||||
| 			color = <LED_COLOR_ID_GREEN>; | 			color = <LED_COLOR_ID_GREEN>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "none"; |  | ||||||
| 			reg = <1>; | 			reg = <1>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		led_blue: blue@2 { | 		led_blue: blue@2 { | ||||||
| 			color = <LED_COLOR_ID_BLUE>; | 			color = <LED_COLOR_ID_BLUE>; | ||||||
| 			function = LED_FUNCTION_INDICATOR; | 			function = LED_FUNCTION_INDICATOR; | ||||||
| 			linux,default-trigger = "default-on"; |  | ||||||
| 			reg = <2>; | 			reg = <2>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user