Thread (8 messages) 8 messages, 3 authors, 2021-09-23

Re: [PATCH v2] backlight: propagate errors from get_brightness()

From: Thomas Weißschuh <linux@weissschuh.net>
Date: 2021-09-07 14:52:42
Also in: dri-devel, lkml

On 2021-09-07T14:10+0100, Daniel Thompson wrote:
On Tue, Sep 07, 2021 at 02:47:51PM +0200, Thomas Weißschuh wrote:
quoted
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Daniel Thompson <redacted>
Thanks!

Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help