[PATCH 21/31] video: backlight: fix pwm's duty cycle calculation

Simon Glass sjg at chromium.org
Sat Aug 29 23:20:38 CEST 2020


On Tue, 25 Aug 2020 at 03:25, Dario Binacchi <dariobin at libero.it> wrote:
>
> For levels equal to the maximum value, the duty cycle must be equal to
> the period.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
> ---
>
>  drivers/video/pwm_backlight.c |  2 +-
>  test/dm/panel.c               | 12 ++++++------
>  2 files changed, 7 insertions(+), 7 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list