diff options
author | Sam Ravnborg | 2020-07-19 10:07:38 +0200 |
---|---|---|
committer | Lee Jones | 2020-07-20 10:27:04 +0100 |
commit | 24d34617c24f9d41953f76f2fbf282334584f5db (patch) | |
tree | d14f7c8ffa955bdb2fede9dfa9f434d30f629788 /Documentation | |
parent | 5a09765ddedd34f176275c72ffbe567e428e2dfc (diff) |
backlight: cr_bllcd: Introduce gpio-backlight semantics
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.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions