Re: [PATCH RESEND v6] backlight: lp855x: Switch to atomic PWM API
From: Lee Jones <hidden>
Date: 2022-07-18 08:30:05
Also in:
dri-devel, linux-pwm, lkml
From: Lee Jones <hidden>
Date: 2022-07-18 08:30:05
Also in:
dri-devel, linux-pwm, lkml
On Thu, 14 Jul 2022, Maíra Canal wrote:
Remove legacy PWM interface (pwm_config, pwm_enable, pwm_disable) and replace it for the atomic PWM API. Reviewed-by: Uwe Kleine-König <redacted> Reviewed-by: Daniel Thompson <redacted> Signed-off-by: Maíra Canal <redacted>
Nit: This should be chronological.
--- V1 -> V2: Initialize variable and simplify conditional loop V2 -> V3: Fix assignment of NULL variable V3 -> V4: Replace division for pwm_set_relative_duty_cycle V4 -> V5: Fix overwrite of state.period V5 -> V6: Fix duty cycle rounding and set period outside conditional loop --- drivers/video/backlight/lp855x_bl.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-)
Applied, thanks. -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog