Skip to content
Commit e09c706b authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Lee Jones
Browse files

leds: trigger: Load trigger modules on-demand if used as default trigger



Even if a trigger is set as default trigger for a LED device,
the respective trigger module (if built as module) isn't automatically
loaded by the kernel if the LED device is registered. I think we can
do better. Try to load the module asynchronously by alias
ledtrig:<trigger name>. This requires that such an alias is added to
relevant triggers.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/79adb260-06ad-443a-a68e-abe4498c3298@gmail.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent c47d1454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment