[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230626154226.GE10378@google.com>
Date: Mon, 26 Jun 2023 16:42:26 +0100
From: Lee Jones <lee@...nel.org>
To: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Cc: pavel@....cz, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v9 5/5] leds: Add a multicolor LED driver to group
monochromatic LEDs
On Thu, 22 Jun 2023, Jean-Jacques Hiblot wrote:
>
>
> On 21/06/2023 21:33, Lee Jones wrote:
> > On Fri, 16 Jun 2023, Jean-Jacques Hiblot wrote:
> >
> > > create mode 100644 drivers/leds/rgb/leds-group-multicolor.c
> >
> > Sorry to do this too you, but there are too many nits that I can't pass by.
> That's alright. I'll fix them in the next (hopefully last) round
> >
> > > + /* Restore sysfs access when the multicolor LED is released */
> >
>
> > Out of interest, why are we doing this?
> To prevent the user to play with the individual LEDs of the group, their
> sysfs interface is disabled (read-only). The interface must be re-enabled
> when the group is destroyed.
Please make that very clear in the code.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists