mirror of https://gitee.com/openkylin/linux.git
4d71a4a12b
There are use cases when setting a LED brightness has to have immediate effect (e.g. setting a torch LED brightness). This patch extends LED subsystem to support such operations. The LED subsystem internal API __led_set_brightness is changed to led_set_brightness_async and new led_set_brightness_sync API is added. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Bryan Wu <cooloney@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ledtrig-backlight.c | ||
ledtrig-camera.c | ||
ledtrig-cpu.c | ||
ledtrig-default-on.c | ||
ledtrig-gpio.c | ||
ledtrig-heartbeat.c | ||
ledtrig-ide-disk.c | ||
ledtrig-oneshot.c | ||
ledtrig-timer.c | ||
ledtrig-transient.c |