openwrt/target/linux/realtek
Sander Vanheule 0d769903dd realtek: Indicate that RTL8231 LED ops can sleep
The RTL8231 LED driver is using the .brightness_set op, which according
to the documentation should not sleep. Since the RTL8231 is controlled
via an MDIO bus, this is not the case.

When using a non-offloaded LED driver such as netdev, this may currently
trigger kernel warnings:
    WARNING: CPU: 0 PID: 14 at kernel/time/timer.c:1754 call_timer_fn.isra.0+0x84/0x8c
    timer: led_timer_function+0x0/0x1d8 preempt leak: 00000100 -> 00000000

Switch to the .brightness_set_blocking op to indicate the operation
might sleep.

Fixes: 6ef6014887 ("realtek: Add pinctrl support for RTL8231")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2026-04-06 00:03:25 +02:00
..
base-files realtek: add support for Datto L8 2026-04-02 22:25:37 +02:00
dts realtek: dts: convert D-Link DGS-1250-28X to PHY_C22() 2026-04-05 11:28:14 +02:00
files-6.12 kernel/realtek: restore files for v6.12 2026-03-29 18:08:20 +02:00
files-6.18 realtek: eth: merge decode_tag() for RTL93xx 2026-04-05 11:28:51 +02:00
image realtek: add support for Datto L8 2026-04-02 22:25:37 +02:00
patches-6.12 realtek: Indicate that RTL8231 LED ops can sleep 2026-04-06 00:03:25 +02:00
patches-6.18 realtek: Indicate that RTL8231 LED ops can sleep 2026-04-06 00:03:25 +02:00
profiles
rtl838x realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
rtl839x realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
rtl930x realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
rtl930x_nand realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
rtl931x realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
rtl931x_nand realtek: cleanup config-6.18 2026-04-03 11:10:55 +02:00
Makefile realtek: add v6.18 as testing kernel 2026-03-29 18:08:21 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00