Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video: backlight: Drop maximum brightness override for brightness zero
The note in c2adda2 ("video: backlight: Add of_find_backlight helper in backlight.c") says that gpio-backlight uses brightness as power state. This has been fixed since in ec665b7 ("backlight: gpio-backlight: Correct initial power state handling") and other backlight drivers do not require this workaround. Drop the workaround. This fixes the case where e.g. pwm-backlight can perfectly well be set to brightness 0 on boot in DT, which without this patch leads to the display brightness to be max instead of off. Fixes: c2adda2 ("video: backlight: Add of_find_backlight helper in backlight.c") Cc: <[email protected]> # 5.4+ Cc: <[email protected]> # 4.19.x: ec665b7: backlight: gpio-backlight: Correct initial power state handling Signed-off-by: Marek Vasut <[email protected]> Acked-by: Noralf Trønnes <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
- Loading branch information