Home
last modified time | relevance | path

Searched hist:"5 ada28bf76752e33dce3d807bf0dfbe6d1b943ad" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/mips/configs/
H A Dlemote2f_defconfigdiff 1c8da7a1107a46c94b21cc176aaf95c819aab3db Sat Apr 09 19:42:17 CEST 2011 Wanlong Gao <wanlong.gao@gmail.com> MIPS: Lemote 2F, Malta: Fix build warning

Since 5ada28bf76752e33dce3d807bf0dfbe6d1b943ad ["led-class: always
implement blinking"] LEDS_CLASS=m is no longer valid so change the setting
from m to y.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
To: david.woodhouse@intel.com
To: akpm@linux-foundation.org
To: mingo@elte.hu
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2276/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/linux/include/linux/
H A Dleds.hdiff 5ada28bf76752e33dce3d807bf0dfbe6d1b943ad Thu Nov 11 23:05:21 CET 2010 Johannes Berg <johannes.berg@intel.com> led-class: always implement blinking

Currently, blinking LEDs can be awkward because it is not guaranteed that
all LEDs implement blinking. The trigger that wants it to blink then
needs to implement its own timer solution.

Rather than require that, add led_blink_set() API that triggers can use.
This function will attempt to use hw blinking, but if that fails
implements a timer for it. To stop blinking again, brightness_set() also
needs to be wrapped into API that will stop the software blink.

As a result of this, the timer trigger becomes a very trivial one, and
hopefully we can finally see triggers using blinking as well because it's
always easy to use.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>