780785c77e
[ Upstream commit ab477b766edd3bfb6321a6e3df4c790612613fae ] The race fixed in timer_trig_activate() between a blocking set_brightness() call and trigger->activate() can affect any trigger. So move the call to flush_work() into led_trigger_set() where it can avoid the race for all triggers. 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 |