[PATCH v5 14/19] backlight: cr_bllcd: introduce gpio-backlight semantics
Daniel Thompson
daniel.thompson at linaro.org
Mon Jul 20 08:48:22 UTC 2020
On Sun, Jul 19, 2020 at 10:07:38AM +0200, Sam Ravnborg wrote:
> cr_bllcd can turn backlight ON or OFF.
> Fix semantitics so they equals what we know from gpio-backlight.
> brightness == 0 => backlight off
> brightness == 1 => backlight on
>
> Use the backlight_get_brightness() helper to simplify the code.
>
> v2:
> - reworked to introduce gpio-backlight semantics (Daniel)
Wasn't this added for v5? However, I spotted this change amoung the
other patches so no worries...
> 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>
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
Daniel.
More information about the dri-devel
mailing list