Re: [PATCH v3 1/3] leds: core: Introduce generic pattern interface

From: Pavel Machek
Date: Fri Dec 08 2017 - 09:28:18 EST


Hi!

> > > > +KernelVersion: 4.14
> > >
> > > And that kernel version is long since released :)
> >
> > Yeah, the other problem is it has some interesting format with ":|"
> > marking repeat,
>
> So what would you prefer?
>
> We can either add another file ("pattern_repeat"?) that allows you to
> describe this separately or some other symbol.

pattern_repeat should work, yes. And we can make it == 0: repeat
forever. == 1 ... repeat just once. == n, repeat n times.

Some leds can support that in hardware.

Thanks,
Pavel

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

Attachment: signature.asc
Description: Digital signature