]> git.baikalelectronics.ru Git - kernel.git/commit
leds: convert blink timer to workqueue
authorVincent Donnefort <vdonnefort@gmail.com>
Sat, 14 Jun 2014 09:21:40 +0000 (02:21 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 3 Jul 2014 19:02:14 +0000 (12:02 -0700)
commit77c253eb2cdc4555813a1910cb5cc2a75ebe3824
tree3d9e31e6cb46cfa4bfc8f746b15dd737c0e068b2
parent3b7507b26530b138de8427027f25fcd6f4ab9e49
leds: convert blink timer to workqueue

This patch converts the blink timer from led-core to workqueue which is more
suitable for this kind of non-priority operations. Moreover, timer may lead to
errors when a LED setting function use a scheduling function such as pinctrl
which is using mutex.

Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/led-class.c
drivers/leds/led-core.c
include/linux/leds.h