projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62e6f5
)
ramips: ER605v2 fix LED function definition
author
Goetz Goerisch
<
[email protected]
>
Sat, 5 Oct 2024 06:56:43 +0000
(08:56 +0200)
committer
Robert Marko
<
[email protected]
>
Sun, 6 Oct 2024 16:58:47 +0000
(18:58 +0200)
commit
665c2154ef122d10dfffeca95538ebdff82653b5
added support for ER605v2
All three LEDs where configured with LED_FUNCTION_STATUS
which worked for 23.05 and kernel 5.15.
With the upgrade to kernel 6.6 this leads to a name collision.
Therefore the USB and Power LED now use the common.h function
LED_FUNCTION_USB and LED_FUNCTION_POWER respectivly.
* fixes https://github.com/openwrt/openwrt/issues/16596
Link:
https://github.com/openwrt/openwrt/pull/16606
Signed-off-by: Goetz Goerisch <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/16606
Signed-off-by: Robert Marko <
[email protected]
>
target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
index 28c8e8b083294bd9766a99edfbcc0d53f3849eba..3d92e343f1f7089ee6cf272a7ef5f6f5cb56bbc0 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
+++ b/
target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
@@
-30,13
+30,13
@@
led_usb: usb {
color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_
STATUS
;
+ function = LED_FUNCTION_
USB
;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
led_power: power {
color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_
STATUS
;
+ function = LED_FUNCTION_
POWER
;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};