Thread (15 messages) 15 messages, 3 authors, 9d ago

Re: [PATCH RFC v2 1/9] leds: Add callback offloaded() to query the state of hardware control trigger

From: Thomas Weißschuh <linux@weissschuh.net>
Date: 2026-07-13 20:27:43
Also in: chrome-platform, linux-doc, linux-leds, lkml, platform-driver-x86

On 2026-06-18 00:47:55+0800, Rong Zhang wrote:
There are multiple triggers implementing hardware control. However, the
LED core doesn't really know the hardware control state since the
coordination is done directly between the trigger and the LED device.

Add an offloaded() callback so that the LED core can query the hardware
control state.
For review it would be easier if the code using the new callback was
introduced *before* the driver implementation.
Signed-off-by: Rong Zhang <redacted>
---
 Documentation/leds/leds-class.rst | 5 +++++
 include/linux/leds.h              | 1 +
 2 files changed, 6 insertions(+)
(...)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help