mirror of https://github.com/torvalds/linux.git
led_set_brightness() involves scheduling a workqueue. As here the led's
brightness setting is done in context of the trigger's workqueue this is
unjustified overhead and it's more sensible to use
led_set_brightness_sync().
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ledtrig-activity.c | ||
| ledtrig-audio.c | ||
| ledtrig-backlight.c | ||
| ledtrig-camera.c | ||
| ledtrig-cpu.c | ||
| ledtrig-default-on.c | ||
| ledtrig-disk.c | ||
| ledtrig-gpio.c | ||
| ledtrig-heartbeat.c | ||
| ledtrig-mtd.c | ||
| ledtrig-netdev.c | ||
| ledtrig-oneshot.c | ||
| ledtrig-panic.c | ||
| ledtrig-pattern.c | ||
| ledtrig-timer.c | ||
| ledtrig-transient.c | ||
| ledtrig-tty.c | ||