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

2020-08-29 Thread Simon Glass
On Tue, 25 Aug 2020 at 03:25, Dario Binacchi wrote: > > For levels equal to the maximum value, the duty cycle must be equal to > the period. > > Signed-off-by: Dario Binacchi > --- > > drivers/video/pwm_backlight.c | 2 +- > test/dm/panel.c | 12 ++-- > 2 files changed, 7

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

2020-08-25 Thread Dario Binacchi
For levels equal to the maximum value, the duty cycle must be equal to the period. Signed-off-by: Dario Binacchi --- drivers/video/pwm_backlight.c | 2 +- test/dm/panel.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/video/pwm_backlight