diff options
author | 2021-04-20 11:51:17 +0200 | |
---|---|---|
committer | 2021-04-23 19:05:31 +0200 | |
commit | 453e8b3d8e36ddcb283b3d1698864a03ea45599a (patch) | |
tree | 6f26a1cd050780c0443f34a150777c37a1c74231 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | pwm: visconti: Add Toshiba Visconti SoC PWM support (diff) | |
download | linux-rng-453e8b3d8e36ddcb283b3d1698864a03ea45599a.tar.xz linux-rng-453e8b3d8e36ddcb283b3d1698864a03ea45599a.zip |
pwm: atmel: Fix duty cycle calculation in .get_state()
The CDTY register contains the number of inactive cycles. .apply() does
this correctly, however .get_state() got this wrong.
Fixes: 651b510a74d4 ("pwm: atmel: Implement .get_state()")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions