[openwrt/openwrt] ipq40xx: whw03v2: fix handling of RGB LED

LEDE Commits lede-commits at lists.infradead.org
Fri May 10 01:56:17 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3704eb3c3f5063f42d6128160f191b86e2c42437

commit 3704eb3c3f5063f42d6128160f191b86e2c42437
Author: Rodrigo Balerdi <lanchon at gmail.com>
AuthorDate: Thu May 9 21:11:09 2024 -0300

    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 at gmail.com>
    (cherry picked from commit fc62d66c20b9e9f52ed787d2079baab06108b959)
    Link: https://github.com/openwrt/openwrt/pull/15438
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
index e01be0ae4b..aba7cb8bea 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
@@ -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>;
 		};
 	};




More information about the lede-commits mailing list