Re: [PATCH 0/3] platform/x86: int3472/discrete: Make it work with IPU6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 25/11/2022 11:06, Andy Shevchenko wrote:
On Fri, Nov 25, 2022 at 12:58:46PM +0200, Laurent Pinchart wrote:
On Fri, Nov 25, 2022 at 10:17:17AM +0000, Dan Scally wrote:
...

Can the LED framework be used without having the LED exposed to
userspace ?
I believe the correct question here is "can the states of some leds be
read-only from user perspective" (this way any changes into led subsystems
looks less intrusive, esp. taking into account that subsystem is de facto
unmaintained).


I think the answer to that is yes:


https://elixir.bootlin.com/linux/latest/source/drivers/leds/led-class.c#L47




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux