diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-21 13:31:26 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-07-29 14:40:54 +0300 |
commit | 3586b02663f098a9b0a3df13bcb3ea2d67635562 (patch) | |
tree | 2caabbb740fd56733a34937e895ed70076ffdd6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0f02f491b786143f08eb19840f1cf4f12aec6dee (diff) | |
download | linux-3586b02663f098a9b0a3df13bcb3ea2d67635562.tar.xz |
pwm: sifive: Enable clk only after period check in .apply()
For the period check and the initial calculations of register values there
is no hardware access needed. So delay enabling the clk a bit to simplify
the code flow a bit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
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