aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBaruch Siach <[email protected]>2021-01-17 15:17:02 +0200
committerBartosz Golaszewski <[email protected]>2021-01-19 11:58:22 +0100
commite73b0101ae5124bf7cd3fb5d250302ad2f16a416 (patch)
treef83b2e8f9fe0d35e1e9c2dc4278e5b0c757ad7fa /tools/perf/scripts/python/exported-sql-viewer.py
parentef38237444ce952daf041ed2885918f9f7d1e997 (diff)
gpio: mvebu: fix pwm .get_state period calculation
The period is the sum of on and off values. That is, calculate period as ($on + $off) / clkrate instead of $off / clkrate - $on / clkrate that makes no sense. Reported-by: Russell King <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Fixes: 757642f9a584e ("gpio: mvebu: Add limited PWM support") Signed-off-by: Baruch Siach <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions