diff options
author | 2019-08-24 17:37:03 +0200 | |
---|---|---|
committer | 2019-09-21 01:48:54 +0200 | |
commit | 01ccf903edd65f6421612321648fa5a7f4b7cb10 (patch) | |
tree | 7f91aa81ecbdb830970221e6b4b1743d4b594792 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: Introduce local struct pwm_chip in pwm_apply_state() (diff) | |
download | linux-dev-01ccf903edd65f6421612321648fa5a7f4b7cb10.tar.xz linux-dev-01ccf903edd65f6421612321648fa5a7f4b7cb10.zip |
pwm: Let pwm_get_state() return the last implemented state
When pwm_apply_state() is called the lowlevel driver usually has to
apply some rounding because the hardware doesn't support nanosecond
resolution. So let pwm_get_state() return the actually implemented state
instead of the last applied one if possible.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions