diff options
author | Baruch Siach <[email protected]> | 2021-01-20 18:16:26 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2021-02-15 11:43:30 +0100 |
commit | de1eaf6016b311dcc53d2297952edcdc87bcc941 (patch) | |
tree | 0c675ff03f7d0eebcf97efe633d9fb15f2409cdf /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Baruch Siach <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions