]> Git Repo - u-boot.git/commit
video: backlight: pwm: avoid integer overflow in duty cycle calculation
authorMatthias Schiffer <[email protected]>
Fri, 30 Jun 2023 12:30:07 +0000 (14:30 +0200)
committerAnatolij Gustschin <[email protected]>
Fri, 14 Jul 2023 16:12:37 +0000 (18:12 +0200)
commit533ad9dcda38a78c7965e9cea8a05c80d18449e4
treebd8f811e57b12d47c2a5a30e62cd3a1c3902bc2e
parent6a0b8885802a4548de9ee54494033b4f19a01b56
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/video/pwm_backlight.c
This page took 0.034543 seconds and 4 git commands to generate.