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

From: Lee Jones
Date: Tue Sep 21 2021 - 10:56:20 EST


On Tue, 21 Sep 2021, Thomas Weißschuh wrote:

> On 2021-09-07T14:47+0200, Thomas Weißschuh wrote:
> > 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.
>
> > [..]
>
> Friendly ping.

Don't do that. If you think the submission has been forgotten about
(it hasn't), then please submit a [RESEND]. As it happens, this is on
my TOREVEW list. I just need to get around to it post-vacation.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog