diff options
author | Uwe Kleine-König <[email protected]> | 2020-04-16 10:02:45 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-06-02 15:50:52 +0200 |
commit | aef1a3799b5cb3ba4841f6034497b179646ccc70 (patch) | |
tree | 144592a7fec04b95bedbe61ab9dc9938b4134ef6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cad0f2960675261584c14e8f0026cd67c60f4864 (diff) |
pwm: imx27: Fix rounding behavior
To not trigger the warnings provided by CONFIG_PWM_DEBUG
- use up-rounding in .get_state()
- don't divide by the result of a division
- don't use the rounded counter value for the period length to calculate
the counter value for the duty cycle
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions