[PATCH v4 16/20] backlight: jornada720_bl: introduce backlight_is_blank()
Daniel Thompson
daniel.thompson at linaro.org
Wed Jul 8 11:12:33 UTC 2020
On Fri, Jul 03, 2020 at 08:45:42PM +0200, Sam Ravnborg wrote:
> Use the backlight_is_blank() helper to simplify the code a bit.
> This add support for fb_blank as a side-effect.
>
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> Cc: Lee Jones <lee.jones at linaro.org>
> Cc: Daniel Thompson <daniel.thompson at linaro.org>
> Cc: Jingoo Han <jingoohan1 at gmail.com>
This driver exhibits the "how does userspace know what writing brightness zero to
sysfs actually does" problem so can't use the backlight_get_brightness() helper.
If you respin it would be good to see that in the patch description but
that's such an extreme nitpick It think, either way, this can be:
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
Daniel.
More information about the dri-devel
mailing list