Re: [PATCH RESUBMIT] leds: trigger: netdev: add core support for hw not supporting fallback to LED sw control

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

 



On Sun, 17 Dec 2023, Heiner Kallweit wrote:

> On 17.12.2023 19:46, Heiner Kallweit wrote:
> > If hw doesn't support sw control of the LED and we switch to a mode
> > not supported by hw, currently we get lots of errors because neither
> > brigthness_set() nor brithness_set_blocking() is set.
> > Deal with this by not falling back to sw control, and return
> > -EOPNOTSUPP to the user. Note that we still store the new mode.
> > This is needed in case an intermediate unsupported mode is necessary
> > to switch from one supported mode to another.
> > 
> > Add a comment explaining how a driver for such hw is supposed to behave.
> > 
> > Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> > ---
> 
> For whatever reason this patch (original version and resubmit) doesn't
> show up on linux-leds patchwork. In netdev patchwork it's visible.

Never used it.  Do you have a link?

-- 
Lee Jones [李琼斯]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux