ipq40xx: whw03v2: fix handling of RGB LED
authorRodrigo Balerdi <lanchon@gmail.com>
Fri, 10 May 2024 00:11:09 +0000 (21:11 -0300)
committerRobert Marko <robimarko@gmail.com>
Fri, 10 May 2024 08:56:13 +0000 (10:56 +0200)
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>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts

index e01be0ae4bc9468f43584011f52cf2818c345ccf..aba7cb8bea1972759508f745ed8608d7d70ff3af 100644 (file)
                        label = "red";
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <0>;
                };
 
                        label = "green";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <1>;
                };
 
                        label = "blue";
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "default-on";
                        reg = <2>;
                };
        };