[PATCH RESEND v6] backlight: lp855x: Switch to atomic PWM API
Lee Jones
lee.jones at linaro.org
Mon Jul 18 08:29:50 UTC 2022
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 <u.kleine-koenig at pengutronix.de>
> Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
> Signed-off-by: Maíra Canal <mairacanal at riseup.net>
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
More information about the dri-devel
mailing list