On Wed, Jan 13, 2021 at 11:22:43AM +0200, Baruch Siach wrote: > Round up the result of division in period/duty_cycle calculation to make > the result closer to idempotent. Maybe: Round up the divisions in .get_state() to make applying the read out configuration idempotent in most cases as .apply rounds down. > Reported-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> Other than that: Reviewed-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature