diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2021-09-07 14:47:51 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-09-23 10:48:00 +0100 |
commit | 563edf85ce18a90dd0a7b39e279a691d937205f6 (patch) | |
tree | 488fbe262c7625113baa8425b2d86c9a82f9cc04 /lib/zstd/common/entropy_common.c | |
parent | 33a5471f8da976bf271a1ebbd6b9d163cb0cb6aa (diff) |
backlight: Propagate errors from get_brightness()
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.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'lib/zstd/common/entropy_common.c')
0 files changed, 0 insertions, 0 deletions