]> git.baikalelectronics.ru Git - kernel.git/commit
ledtrig-cpu: Handle CPU hot(un)plugging
authorPawel Moll <pawel.moll@arm.com>
Wed, 22 Jan 2014 16:32:02 +0000 (08:32 -0800)
committerBryan Wu <cooloney@gmail.com>
Thu, 27 Feb 2014 17:56:54 +0000 (09:56 -0800)
commit5ac014289ba950d0afd7a73771bf7974ee5c438c
tree86a5548effb8fab412e9940d92cfccb7e2a14927
parentc12b88ed84c80e42e377bda8d1cbf68924238ae1
ledtrig-cpu: Handle CPU hot(un)plugging

When CPU is hot(un)plugged, no syscore notification is being
generated, nor is cpuidle involved. This leaves the CPU LED
turned on, because the dying thread is doing some work (LED on)
and than it is... well, dying (LED still on :-)

Added notifier block for hot(un)plugging operations, generating
existing trigger events.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/trigger/ledtrig-cpu.c