Browse Source

mvebu: fix Linksys power LED

Kernel 6.6 requires LED node names to be prefixed via "led-", otherwise
probing the LED will fail, so update our downstream patch adding the LED.

Signed-off-by: Richard Schneidt <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17330
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit f491001f0c106cd59b9f72f2dbd2ba39a3616de3)
Richard Schneidt 1 năm trước cách đây
mục cha
commit
90f84a22b0

+ 2 - 2
target/linux/mvebu/patches-6.6/309-linksys-status-led.patch

@@ -19,7 +19,7 @@
  		pinctrl-names = "default";
  
 -		led-power {
-+		led_power: power {
++		led_power: led-power {
  			gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
  			default-state = "on";
  		};
@@ -44,7 +44,7 @@
  		pinctrl-names = "default";
  
 -		led-power {
-+		led_power: power {
++		led_power: led-power {
  			label = "mamba:white:power";
  			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
  			default-state = "on";