linux-stable/drivers/leds
Antonio Ospite 488bc35bf4 leds: turn the blink_timer off before starting to blink
Depending on the implementation of the hardware blinking function in
blink_set(), the led can support hardware blinking for some values of
delay_on and delay_off and fall-back to software blinking for some other
values.

Turning off the blink_timer unconditionally before starting to blink
make sure that a sequence like:

  OFF
  hardware blinking
  software blinking
  hardware blinking

does not leave the software blinking timer active.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: <stable@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-10-31 17:30:55 -07:00
..
Kconfig leds: Renesas TPU LED driver 2011-10-31 17:30:54 -07:00
Makefile leds: Renesas TPU LED driver 2011-10-31 17:30:54 -07:00
dell-led.c
led-class.c leds: turn the blink_timer off before starting to blink 2011-10-31 17:30:55 -07:00
led-core.c
led-triggers.c drivers/leds/led-triggers.c: fix memory leak 2011-10-31 17:30:55 -07:00
leds-88pm860x.c mfd: Use mfd cell platform_data for 88pm860x cells platform bits 2011-05-26 19:45:12 +02:00
leds-adp5520.c
leds-ams-delta.c leds: add missing include of linux/module.h 2011-08-25 16:25:34 -07:00
leds-asic3.c leds: Add ASIC3 LED support 2011-05-26 19:45:46 +02:00
leds-atmel-pwm.c
leds-bd2802.c drivers/leds/leds-bd2802.c: bd2802_unregister_led_classdev() should unregister all registered leds 2011-08-25 16:25:35 -07:00
leds-clevo-mail.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio-register.c leds: provide helper to register "leds-gpio" devices 2011-05-25 08:39:51 -07:00
leds-gpio.c drivers/leds/leds-gpio.c: use gpio_get_value_cansleep() when initializing 2011-10-31 17:30:55 -07:00
leds-hp6xx.c leds: add missing include of linux/module.h 2011-08-25 16:25:34 -07:00
leds-lm3530.c drivers/leds/leds-lm3530.c: add __devexit_p where needed 2011-10-31 17:30:55 -07:00
leds-locomo.c
leds-lp3944.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
leds-lp5521.c drivers/leds/leds-lp5521.c: avoid writing uninitialized value to LP5521_REG_OP_MODE register 2011-10-31 17:30:55 -07:00
leds-lp5523.c drivers/leds/leds-lp5523.c: fix section mismatches 2011-06-27 18:00:13 -07:00
leds-lt3593.c
leds-mc13783.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
leds-net48xx.c
leds-net5501.c leds: make *struct gpio_led_platform_data.leds const 2011-03-22 17:43:59 -07:00
leds-netxbig.c leds: add LED driver for Big Network series LEDs 2010-10-07 14:02:12 -04:00
leds-ns2.c leds: leds-ns2: fix private driver data storage 2010-10-07 14:00:23 -04:00
leds-pca955x.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
leds-pca9532.c drivers/leds/leds-pca9532.c: change driver name to be unique 2011-07-08 21:14:44 -07:00
leds-pwm.c leds: leds-pwm: return proper error if pwm_request failed 2011-01-26 10:49:58 +10:00
leds-rb532.c
leds-regulator.c leds/leds-regulator.c: fix handling of already enabled regulators 2011-04-14 16:06:54 -07:00
leds-renesas-tpu.c drivers/leds/leds-renesas-tpu.c: move Renesas TPU LED driver platform data 2011-10-31 17:30:55 -07:00
leds-s3c24xx.c
leds-ss4200.c leds: fix bug with reading NAS SS4200 dmi code 2010-11-25 06:50:33 +09:00
leds-sunfire.c drivers/leds/leds-sunfire.c: fix sunfire_led_generic_probe() error handling 2011-07-25 20:57:15 -07:00
leds-wm831x-status.c
leds-wm8350.c Fix common misspellings 2011-03-31 11:26:23 -03:00
leds-wrap.c
leds.h leds: support automatic start of blinking with ledtrig-timer 2011-05-25 08:39:49 -07:00
ledtrig-backlight.c leds: add output inversion option to backlight trigger 2011-01-13 08:03:06 -08:00
ledtrig-default-on.c
ledtrig-gpio.c drivers/leds/ledtrig-gpio.c: make output match input, tighten input checking 2011-01-20 17:02:06 -08:00
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c drivers/leds/ledtrig-timer.c: fix broken sysfs delay handling 2011-09-14 18:09:38 -07:00