[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <170317110342.613451.8758128732864259581.b4-ty@kernel.org>
Date: Thu, 21 Dec 2023 15:05:03 +0000
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Heiner Kallweit <hkallweit1@...il.com>
Cc: linux-leds@...r.kernel.org, netdev@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>
Subject: Re: (subset) [PATCH RESUBMIT] leds: trigger: netdev: add core
support for hw not supporting fallback to LED sw control
On Sun, 17 Dec 2023 19:46:42 +0100, 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.
>
> [...]
Applied, thanks!
[1/1] leds: trigger: netdev: add core support for hw not supporting fallback to LED sw control
commit: cb2ab62ae08af6a5ef1e3aaf954a8eaadd6ce17a
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists