]> git.baikalelectronics.ru Git - kernel.git/commit
leds: Turn off led if blinking is disabled
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Tue, 4 Feb 2014 08:11:42 +0000 (00:11 -0800)
committerBryan Wu <cooloney@gmail.com>
Thu, 27 Feb 2014 17:56:55 +0000 (09:56 -0800)
commit8649bb823820c96310bc20c94f317d9371859032
tree8cc6f5382e1b7f6d7e51821a5733b45b90f7a967
parent5ac014289ba950d0afd7a73771bf7974ee5c438c
leds: Turn off led if blinking is disabled

When using the timer trigger and setting delay_on to 0, the led
will stay in whatever state is was in, while intuitively one
would expect it to turn off. This patch changes the behaviour to
turn it off.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/led-core.c