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>
(cherry picked from commit fc62d66c20b9e9f52ed787d2079baab06108b959)
Link: https://github.com/openwrt/openwrt/pull/15438
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rodrigo Balerdi 2024-05-09 21:11:09 -03:00 committed by Robert Marko
parent 06be957f86
commit 3704eb3c3f

View File

@ -278,7 +278,6 @@
label = "red";
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "none";
reg = <0>;
};
@ -286,7 +285,6 @@
label = "green";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "none";
reg = <1>;
};
@ -294,7 +292,6 @@
label = "blue";
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "default-on";
reg = <2>;
};
};