commit | 533ad9dcda38a78c7965e9cea8a05c80d18449e4 | [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 | 6a0b8885802a4548de9ee54494033b4f19a01b56 [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>