Re: [PATCH v8 4/6] pwm: sun4i: Always calculate params when applying new parameters

From: Uwe Kleine-König
Date: Thu Nov 21 2019 - 16:11:50 EST


On Thu, Nov 21, 2019 at 08:59:00PM +0100, Clément Péron wrote:
> Bypass mode will require to be re-calculated when the pwm state
> is changed.
>
> Remove the condition so pwm_sun4i_calculate is always called.
>
> Signed-off-by: Clément Péron <peron.clem@xxxxxxxxx>

When applying this patch and looking at it using git show -b it is
obvious the patch does exactly what is promised here. (Apart from the
introduced empty line in the last hunk which is ok in my book.)

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |