Skip to content
Commit 533ad9dc authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Anatolij Gustschin
Browse files

video: backlight: pwm: avoid integer overflow in duty cycle calculation



The intermediate value could overflow for large periods and levels.

Signed-off-by: default avatarMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 6a0b8885
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment