On 7/17/07, Németh Márton <[EMAIL PROTECTED]> wrote:
+Hardware accelerated blink of LEDs +================================== + +Some LEDs can be programmed to blink without any CPU interaction. To +support this feature, a LED driver can optionally implement the +blink_set() function (see <linux/leds.h>). If implemeted, the +ledtrig-timer tries to use it. The blink_set() function should return +1 if the blink setting is supported, or 0 otherwise, which means that +the LED will be turned on and off from software.
Normally object methods in kernel return 0 on success and error code (such as -EINVAL for unsupported parameters) on error. -- Dmitry