openwrt-6.x/target/linux/generic
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
..
backport-6.6 generic: silence led set_brightness error message 2025-03-16 19:50:21 +01:00
files kernel: ar8327: fix active-low LED initialization 2025-03-17 16:40:46 +01:00
hack-6.6 generic: import rtl8261n patches from mediatek 2025-03-16 19:05:56 +01:00
image
other-files
pending-6.6 kernel: bump 6.6 to 6.6.83 2025-03-15 10:25:57 +01:00
config-6.6 generic: import rtl8261n patches from mediatek 2025-03-16 19:05:56 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
PATCHES