OpenCloudOS-Kernel/drivers/leds/trigger
Jacek Anaszewski 4d71a4a12b leds: Add support for setting brightness in a synchronous way
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>
2014-11-14 14:29:35 -08:00
..
Kconfig leds: add camera LED triggers 2013-04-01 11:04:50 -07:00
Makefile leds: add camera LED triggers 2013-04-01 11:04:50 -07:00
ledtrig-backlight.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00
ledtrig-camera.c leds: add camera LED triggers 2013-04-01 11:04:50 -07:00
ledtrig-cpu.c drivers/leds: Replace __get_cpu_var use through this_cpu_ptr 2014-05-08 14:28:08 +08:00
ledtrig-default-on.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00
ledtrig-gpio.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00
ledtrig-heartbeat.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00
ledtrig-ide-disk.c
ledtrig-oneshot.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00
ledtrig-timer.c
ledtrig-transient.c leds: Add support for setting brightness in a synchronous way 2014-11-14 14:29:35 -08:00