lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d120d5000707170604q2e3c0d36g9bea02f4ed3d3050@mail.gmail.com>
Date:	Tue, 17 Jul 2007 09:04:34 -0400
From:	"Dmitry Torokhov" <dmitry.torokhov@...il.com>
To:	"Németh Márton" <nm127@...email.hu>
Cc:	"Richard Purdie" <rpurdie@...ys.net>,
	linux-input@...ey.karlin.mff.cuni.cz, linux-kernel@...r.kernel.org,
	"Rodrigo Pereira" <rodripe@...il.com>
Subject: Re: [PATCH 2/3] leds-clevo-mail: hw accelerated LED blink extension

On 7/17/07, Németh Márton <nm127@...email.hu> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ