aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2020-04-16 08:02:45 +0000
committerThierry Reding <[email protected]>2020-06-02 13:50:52 +0000
commitaef1a3799b5cb3ba4841f6034497b179646ccc70 (patch)
tree144592a7fec04b95bedbe61ab9dc9938b4134ef6 /tools/perf/scripts/python/export-to-sqlite.py
parentpwm: rockchip: Simplify rockchip_pwm_get_state() (diff)
downloadkernel-aef1a3799b5cb3ba4841f6034497b179646ccc70.tar.gz
kernel-aef1a3799b5cb3ba4841f6034497b179646ccc70.zip
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