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 <redacted>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Other than that:
Reviewed-by: Uwe Kleine-König <redacted>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |