Commit Graph

1 Commits (10eaf08da5e5eb66444448e60932fb871ea0a365)

Author SHA1 Message Date
Felix Fietkau a2ba826425 "default-on" LED Trigger
The current LED subsystem always initialises LEDs in the OFF state. This is fine for most LEDs but some should be on right from boot (e.g. POWER LED). Following some discussion with the LED subsystem maintainers, a trigger was recommended as the best way to implement this functionality.

Here is a patch to add a new trigger "default-on" which will initialise an LED in the ON state. It is not compiled by default.

Particular thanks to Rod Whitby for all his help with this.

Signed-off-by: Nick Forbes <nick.forbes@incepta.com>

SVN-Revision: 10348
2008-02-02 01:21:54 +00:00