commit | e1d52842bca85b9840160aad9249e17d73c656a3 | [log] [tgz] |
---|---|---|
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | Fri Jun 30 14:30:07 2023 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Jul 14 18:12:37 2023 +0200 |
tree | bd8f811e57b12d47c2a5a30e62cd3a1c3902bc2e | |
parent | 55453d4af635d9433c70af5cb58590747f82f620 [diff] |
video: backlight: pwm: avoid integer overflow in duty cycle calculation The intermediate value could overflow for large periods and levels. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Reviewed-by: Simon Glass <sjg@chromium.org>