Commit Graph

1 Commits (496bdd9eb769813854924e18d204546a899fa9d5)

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