Re: [PATCH v1 1/1] leds: Adjust documentation of brightness sysfs node
From: Andy Shevchenko
Date: Thu Mar 19 2026 - 11:37:11 EST
On Thu, Mar 19, 2026 at 03:03:30PM +0000, Lee Jones wrote:
> On Tue, 10 Mar 2026, Andy Shevchenko wrote:
>
> > Adjust documentation of brightness sysfs node about accepted value range.
> > The code accepts only decimal values. We may not relax that due to different
> > readings for, e.g., octal 0100, which becomes 64 instead of currently parsed
> > 100.
...
> > - The value is between 0 and
> > + The decimal value is between 0 and
>
> How about?
>
> The value is between 0 and /sys/class/leds/<led>/max_brightness and is
> represented by as a decimal.
I tried to be less invasive, but I have no objection on this proposal. Can you
update it whilst applying or should I send a new version?
> > /sys/class/leds/<led>/max_brightness.
--
With Best Regards,
Andy Shevchenko