1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Lech Perczak 5a4f8b26f0 kernel: ar8327: fix active-low LED initialization
Switch LEDs configured as active-low remain low instead of high upon
initialization, because in ar8327_leds_init, no distinction is made with
regards to LED pattern based on active_low property - only whether HW
mode is active. Select the proper initial pattern based also on
active_low to fix that.

While at that, simplify the equation ruling pattern selection for
setting brightness, avoiding unnecessary binary XOR operation, not
really valid for 'bool' type.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/12487
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-17 16:40:46 +01:00
..
airoha
apm821xx
archs38
armsr
at91
ath79 ath79: fix chipidea usb controller detection 2025-03-17 15:23:45 +01:00
bcm27xx bcm27xx: refresh kernel configs 2025-03-16 15:48:10 +01:00
bcm47xx
bcm53xx
bcm4908
bmips
d1
gemini
generic kernel: ar8327: fix active-low LED initialization 2025-03-17 16:40:46 +01:00
imx
ipq40xx
ipq806x ipq806x: use nvmem for wifi mac 2025-03-16 22:19:46 +01:00
ixp4xx
kirkwood
lantiq
layerscape
loongarch64
malta
mediatek mediatek: u7623: fix network switch enumeration 2025-03-16 22:43:02 +01:00
mpc85xx
mvebu
mxs
octeon
omap
pistachio
qoriq
qualcommax
qualcommbe
ramips ramips: add missing LEDs and modem control for ASUS 4G-AX56 2025-03-17 15:13:42 +01:00
realtek generic: import rtl8261n patches from mediatek 2025-03-16 19:05:56 +01:00
rockchip
sifiveu
siflower generic: import rtl8261n patches from mediatek 2025-03-16 19:05:56 +01:00
starfive
stm32
sunxi
tegra
uml
x86 x86: add Supermicro SuperServer E302-9D 2025-03-16 22:14:29 +01:00
zynq
Makefile