Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger

Pavel Machek
2018-08-05T22:08:34Z

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

Hi!

> > +What: /sys/class/leds/<led>/repeat
> > +Date: August 2018
> > +KernelVersion: 4.19
> > +Description:
> > + Specify a pattern repeat number. 0 means repeat indefinitely.
>
> In current implementation this file on read returns the number
> of remaining repeat intervals. I'd add that to this description.

Lets not do this.

LEDs such as the one on N900 can do repeats automatically, in
hardware. But in such case we may not be able to determine how many
repetitions were done (and how many are left).

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]