2016-10-03 08:42:15

by Pavel Machek

[permalink] [raw]
Subject: [PATCH] leds/leds-lp5523.txt: make documentation match reality


Files are visible all the time, so remove incorrect notes.

Signed-off-by: Pavel Machek <[email protected]>

index 0dbbd27..0961a06 100644
--- a/Documentation/leds/leds-lp5523.txt
+++ b/Documentation/leds/leds-lp5523.txt
@@ -34,8 +34,8 @@ There are two ways to run LED patterns.
Control interface for the engines:
x is 1 .. 3
enginex_mode : disabled, load, run
- enginex_load : microcode load (visible only in load mode)
- enginex_leds : led mux control (visible only in load mode)
+ enginex_load : microcode load
+ enginex_leds : led mux control

cd /sys/class/leds/lp5523:channel2/device
echo "load" > engine3_mode

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


Attachments:
(No filename) (770.00 B)
signature.asc (181.00 B)
Digital signature
Download all attachments

2016-10-03 10:17:02

by Jacek Anaszewski

[permalink] [raw]
Subject: Re: [PATCH] leds/leds-lp5523.txt: make documentation match reality

Hi Pavel,

On 10/03/2016 10:42 AM, Pavel Machek wrote:
>
> Files are visible all the time, so remove incorrect notes.
>
> Signed-off-by: Pavel Machek <[email protected]>
>
> index 0dbbd27..0961a06 100644
> --- a/Documentation/leds/leds-lp5523.txt
> +++ b/Documentation/leds/leds-lp5523.txt
> @@ -34,8 +34,8 @@ There are two ways to run LED patterns.
> Control interface for the engines:
> x is 1 .. 3
> enginex_mode : disabled, load, run
> - enginex_load : microcode load (visible only in load mode)
> - enginex_leds : led mux control (visible only in load mode)
> + enginex_load : microcode load
> + enginex_leds : led mux control
>
> cd /sys/class/leds/lp5523:channel2/device
> echo "load" > engine3_mode
>

Thanks for the patch.
For now applied to the for-4.10 branch of linux-leds.git,
nonetheless it would be good to consult the author.

Cc Milo.

--
Best regards,
Jacek Anaszewski