linux/drivers/leds/trigger
Rob Herring 22f933add4 leds: ledtrig-transient: fix duration to be msec instead of jiffies
The transient trigger duration is documented to be in msec units, but is
actually in jiffies units. Other time based triggers are in msec units
as well. Fix the timer setup to convert from msec.

This could break an existing userspace that worked around this problem,
but exposing jiffies to userspace is just wrong and would break anyway
if HZ is changed.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Shuah Khan <shuahkhan@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
2016-01-04 09:57:36 +01:00
..
Kconfig leds: Allow compile test of GPIO consumers if !GPIOLIB 2015-08-28 14:05:57 +02:00
ledtrig-backlight.c leds: core: Add led_set_brightness_nosleep{nopm} functions 2016-01-04 09:57:30 +01:00
ledtrig-camera.c
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: core: Add led_set_brightness_nosleep{nopm} functions 2016-01-04 09:57:30 +01:00
ledtrig-gpio.c leds: core: Add led_set_brightness_nosleep{nopm} functions 2016-01-04 09:57:30 +01:00
ledtrig-heartbeat.c leds: core: Add led_set_brightness_nosleep{nopm} functions 2016-01-04 09:57:30 +01:00
ledtrig-ide-disk.c
ledtrig-oneshot.c leds: core: Add led_set_brightness_nosleep{nopm} functions 2016-01-04 09:57:30 +01:00
ledtrig-timer.c
ledtrig-transient.c leds: ledtrig-transient: fix duration to be msec instead of jiffies 2016-01-04 09:57:36 +01:00
Makefile