commit | de1eaf6016b311dcc53d2297952edcdc87bcc941 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Wed Jan 20 18:16:26 2021 +0200 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Feb 15 11:43:30 2021 +0100 |
tree | 0c675ff03f7d0eebcf97efe633d9fb15f2409cdf | |
parent | aa37e27f610fe3e7539c066d9c1f5304390086d6 [diff] |
gpio: mvebu: make pwm .get_state closer to idempotent 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@pengutronix.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>