diff options
author | 2020-07-19 10:07:38 +0200 | |
---|---|---|
committer | 2020-07-20 10:27:04 +0100 | |
commit | 24d34617c24f9d41953f76f2fbf282334584f5db (patch) | |
tree | d14f7c8ffa955bdb2fede9dfa9f434d30f629788 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | backlight: as3711_bl: Simplify update_status (diff) | |
download | wireguard-linux-24d34617c24f9d41953f76f2fbf282334584f5db.tar.xz wireguard-linux-24d34617c24f9d41953f76f2fbf282334584f5db.zip |
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 '')
0 files changed, 0 insertions, 0 deletions